Comment 2 for bug 338429

Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :

The attached patch allows cached repositories to work, if applied against the version in Intrepid. (Nothing in the Debian changelog for the version in Jaunty suggests the problem is fixed there, and the upstream version is the same.)

I've been unable to make it into a debdiff, and I've run out of patience for struggling against quilt, so here's a bare patch against 0.11/tracext/git/git_fs.py. With only this change made, I have "cached_repository = true" working on my local Trac instance. (Note that I had to restart Apache to get the installation of the new version to take effect; apparently mod_python does some sort of caching. If it seems to fail, that's probably why.)

Original source for the patch is here: http://trac-hacks.org/attachment/ticket/3008/gitplugin-prevrev.patch