Thanks ... i will commit that change to our git repository and wait for
a chance to include it in debian (probably with a security patch).

Qua, 2007-09-05 às 14:41 +0200, Gyuris Szabolcs escreveu:
> /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...
> 
> _______________________________________________
> Pkg-trac-devel mailing list
> [EMAIL PROTECTED]
> http://lists.alioth.debian.org/mailman/listinfo/pkg-trac-devel



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

Reply via email to