# HG changeset patch # User Andrew Beekhof # Date 1213188593 -7200 # Node ID bc553c6d1ef9b4360fe2fc6b65f50862e519d2fa # Parent a51093361e1c76cf27124a76417fc118d8fa60c1 webcommands: fix increments lost by 894875eae49b diff -r a51093361e1c -r bc553c6d1ef9 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