Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb/hgweb_mod.py @ 6017:b29b75ce9645
hgweb: fix search skipping tip
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Tue, 05 Feb 2008 14:02:03 +0100 |
parents | 48c22c719f8c |
children | 404be894cf71 |
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()