[Pkg-trac-devel] Bug#438864: fix
Gyuris Szabolcs
szimszon at oregpreshaz.eu
Wed Sep 5 12:41:43 UTC 2007
/usr/share/python-support/trac/trac/versioncontrol/cache.py
Change the line 114 from
pass
to
return
The working code
----------
if self.youngest:
next_youngest = self.repos.next_rev(self.youngest)
else:
next_youngest = None
try:
next_youngest = self.repos.oldest_rev
next_youngest = self.repos.normalize_rev(next_youngest)
except TracError:
- pass
+ return # can't normalize oldest_rev: repository was
empty
------------
It works for me...
--
\\/// http://linux.oregpreshaz.eu/ Thawte
O O / http://www.oregpreshaz.eu/
/=uOO(_)OOu==========================================~ WOT
| E-mail: szimszon az oregpreshaz pont eu
| VoIP : szimszon a ekiga.net | pgp key id: 049BFAD8 Notary
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3347 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.alioth.debian.org/pipermail/pkg-trac-devel/attachments/20070905/623befc9/attachment.bin
More information about the Pkg-trac-devel
mailing list