Mercurial > public > mercurial-scm > hg
comparison mercurial/hgweb/webcommands.py @ 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 | be55b1a6d4b1 |
comparison
equal
deleted
inserted
replaced
6657:a51093361e1c | 6659:bc553c6d1ef9 |
---|---|
127 miss = 1 | 127 miss = 1 |
128 break | 128 break |
129 if miss: | 129 if miss: |
130 continue | 130 continue |
131 | 131 |
132 count = 1 | 132 count += 1 |
133 n = ctx.node() | 133 n = ctx.node() |
134 showtags = webutil.showtag(web.repo, tmpl, 'changelogtag', n) | 134 showtags = webutil.showtag(web.repo, tmpl, 'changelogtag', n) |
135 | 135 |
136 yield tmpl('searchentry', | 136 yield tmpl('searchentry', |
137 parity=parity.next(), | 137 parity=parity.next(), |
360 count = 0 | 360 count = 0 |
361 for k, n in i: | 361 for k, n in i: |
362 if k == "tip": # skip tip | 362 if k == "tip": # skip tip |
363 continue | 363 continue |
364 | 364 |
365 count = 1 | 365 count += 1 |
366 if count > 10: # limit to 10 tags | 366 if count > 10: # limit to 10 tags |
367 break | 367 break |
368 | 368 |
369 yield tmpl("tagentry", | 369 yield tmpl("tagentry", |
370 parity=parity.next(), | 370 parity=parity.next(), |