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

** Attachment added: "Patch against 0.11/tracext/git/git_fs.py."
   http://launchpadlibrarian.net/23551781/fix-caching.diff

-- 
Cache problem: "TypeError: previous_rev() takes exactly 2 arguments (3 given)"
https://bugs.launchpad.net/bugs/338429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to