# HG changeset patch # User Andrew Beekhof # Date 2008-06-11 12:49:53 # Node ID bc553c6d1ef9b4360fe2fc6b65f50862e519d2fa # Parent a51093361e1c76cf27124a76417fc118d8fa60c1 webcommands: fix increments lost by 894875eae49b diff --git a/mercurial/hgweb/webcommands.py b/mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py +++ b/mercurial/hgweb/webcommands.py @@ -129,7 +129,7 @@ def _search(web, tmpl, query): if miss: continue - count = 1 + count += 1 n = ctx.node() showtags = webutil.showtag(web.repo, tmpl, 'changelogtag', n) @@ -362,7 +362,7 @@ def summary(web, req, tmpl): if k == "tip": # skip tip continue - count = 1 + count += 1 if count > 10: # limit to 10 tags break