mercurial/hgweb/hgweb_mod.py
changeset 6017 b29b75ce9645
parent 5486 48c22c719f8c
child 6018 404be894cf71
--- a/mercurial/hgweb/hgweb_mod.py	Sun Feb 03 21:03:46 2008 -0200
+++ b/mercurial/hgweb/hgweb_mod.py	Tue Feb 05 14:02:03 2008 +0100
@@ -265,7 +265,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()