mercurial/hgweb/webcommands.py
changeset 7332 5c95d7667dd1
parent 7311 de9c87fe1620
child 7345 55651328dfcc
--- a/mercurial/hgweb/webcommands.py	Fri Nov 07 13:22:41 2008 +0100
+++ b/mercurial/hgweb/webcommands.py	Fri Nov 07 15:40:36 2008 +0100
@@ -627,9 +627,8 @@
     downrev = max(0, rev - revcount)
     lessrev = max(0, rev - revcount / 2)
 
-    maxchanges = web.maxshortchanges or web.maxchanges
     count = len(web.repo)
-    changenav = webutil.revnavgen(rev, maxchanges, count, web.repo.changectx)
+    changenav = webutil.revnavgen(rev, revcount, count, web.repo.changectx)
 
     tree = list(graphmod.graph(web.repo, rev, downrev))
     canvasheight = (len(tree) + 1) * bg_height - 27;