comparison mercurial/hgweb/webcommands.py @ 12063:516b000fbb7e

cleanup: remove unused variables
author Brodie Rao <brodie@bitheap.org>
date Fri, 27 Aug 2010 13:32:40 -0400
parents 0de6cfdcaad8
children ead4e21f49f1
comparison
equal deleted inserted replaced
12062:c327bfa5e831 12063:516b000fbb7e
381 entries=lambda **x: entries(False, 0, **x), 381 entries=lambda **x: entries(False, 0, **x),
382 entriesnotip=lambda **x: entries(True, 0, **x), 382 entriesnotip=lambda **x: entries(True, 0, **x),
383 latestentry=lambda **x: entries(True, 1, **x)) 383 latestentry=lambda **x: entries(True, 1, **x))
384 384
385 def branches(web, req, tmpl): 385 def branches(web, req, tmpl):
386 b = web.repo.branchtags()
387 tips = (web.repo[n] for t, n in web.repo.branchtags().iteritems()) 386 tips = (web.repo[n] for t, n in web.repo.branchtags().iteritems())
388 heads = web.repo.heads() 387 heads = web.repo.heads()
389 parity = paritygen(web.stripecount) 388 parity = paritygen(web.stripecount)
390 sortkey = lambda ctx: ('close' not in ctx.extra(), ctx.rev()) 389 sortkey = lambda ctx: ('close' not in ctx.extra(), ctx.rev())
391 390