Merge with crew
authorMatt Mackall <mpm@selenic.com>
Wed, 11 Jun 2008 17:49:27 -0500
changeset 6660 5fb42da426cd
parent 6658 7ca74741259f (current diff)
parent 6659 bc553c6d1ef9 (diff)
child 6661 d1a312daa574
Merge with crew
--- a/mercurial/hgweb/webcommands.py	Tue Jun 10 12:11:06 2008 -0500
+++ b/mercurial/hgweb/webcommands.py	Wed Jun 11 17:49:27 2008 -0500
@@ -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