diff mercurial/hgweb/hgweb_mod.py @ 6018:404be894cf71

merge with crew-stable
author Thomas Arendsen Hein <thomas@intevation.de>
date Tue, 05 Feb 2008 14:34:46 +0100
parents b913d3aacddc b29b75ce9645
children f7f25f58693a
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py	Mon Feb 04 09:56:01 2008 -0600
+++ b/mercurial/hgweb/hgweb_mod.py	Tue Feb 05 14:34:46 2008 +0100
@@ -467,7 +467,7 @@
             def revgen():
                 for i in xrange(cl.count() - 1, 0, -100):
                     l = []
-                    for j in xrange(max(0, i - 100), i):
+                    for j in xrange(max(0, i - 100), i + 1):
                         ctx = self.repo.changectx(j)
                         l.append(ctx)
                     l.reverse()