changeset 19462 | a87d9102f7af |
parent 19436 | f5abfa08fb09 |
child 19485 | 02c71f96eb6c |
--- a/mercurial/hgweb/webcommands.py Mon Jul 01 06:50:58 2013 +0200 +++ b/mercurial/hgweb/webcommands.py Sat Jul 13 02:36:29 2013 +0400 @@ -247,8 +247,7 @@ count = len(web.repo) pos = ctx.rev() start = max(0, pos - revcount + 1) - end = min(count, start + revcount) - pos = end - 1 + end = pos + 1 parity = paritygen(web.stripecount, offset=start - end) changenav = webutil.revnav(web.repo).gen(pos, revcount, count)