webcommands: fix increments lost by 894875eae49b
authorAndrew Beekhof <beekhof@gmail.com>
Wed, 11 Jun 2008 14:49:53 +0200
changeset 6659 bc553c6d1ef9
parent 6657 a51093361e1c
child 6660 5fb42da426cd
webcommands: fix increments lost by 894875eae49b
mercurial/hgweb/webcommands.py
--- a/mercurial/hgweb/webcommands.py	Sat Jun 07 17:52:00 2008 +0200
+++ b/mercurial/hgweb/webcommands.py	Wed Jun 11 14:49:53 2008 +0200
@@ -129,7 +129,7 @@
             if miss:
                 continue
 
-            count = 1
+            count += 1
             n = ctx.node()
             showtags = webutil.showtag(web.repo, tmpl, 'changelogtag', n)
 
@@ -362,7 +362,7 @@
             if k == "tip": # skip tip
                 continue
 
-            count = 1
+            count += 1
             if count > 10: # limit to 10 tags
                 break