changeset 6659:bc553c6d1ef9

webcommands: fix increments lost by 894875eae49b
author Andrew Beekhof <beekhof@gmail.com>
date Wed, 11 Jun 2008 14:49:53 +0200
parents a51093361e1c
children 5fb42da426cd
files mercurial/hgweb/webcommands.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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