changeset 6017:b29b75ce9645

hgweb: fix search skipping tip
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Tue, 05 Feb 2008 14:02:03 +0100
parents ee317dbfb9d0
children 404be894cf71 b70a530bdb93
files mercurial/hgweb/hgweb_mod.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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()