[Pkg-trac-devel] Bug#438864: Bug#438864: fix

Luis Matos gass at otiliamatos.ath.cx
Wed Sep 5 13:22:32 UTC 2007


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
> Pkg-trac-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-trac-devel





More information about the Pkg-trac-devel mailing list