Package: trac-bzr
Version: 0.2+bzr31-3

Hi,

Since get_weave has been deprecated in bzr 0.90, the fastcgi version of
trac produces a warning about the deprecation on a first run. This
causes the first changelog served by trac & lighttpd return a 500
Internal server error, which is annoying.

The following patch fixes the issue.

--- backend.py.orig     2007-03-08 20:24:40.000000000 +0100
+++ backend.py  2007-12-16 22:17:46.000000000 +0100
@@ -671,7 +671,7 @@
         It may also include a few revisions in which the revision_id
did not change, if the modification was subsequently undone.
         """
-        weave = self.tree.get_weave(self.entry.file_id)
+        weave = self.tree._get_weave(self.entry.file_id)
         file_ancestry = weave.get_ancestry(self.entry.revision)
         # Can't use None here, because it's a legitimate revision id.
         last_yielded = 'bogus:'

Regards,
-- 
Jindrich Makovicka



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to