Show More
@@ -611,7 +611,7 def tags(web): | |||||
611 | i = list(reversed(web.repo.tagslist())) |
|
611 | i = list(reversed(web.repo.tagslist())) | |
612 | parity = paritygen(web.stripecount) |
|
612 | parity = paritygen(web.stripecount) | |
613 |
|
613 | |||
614 |
def entries(notip, latestonly |
|
614 | def entries(context, notip, latestonly): | |
615 | t = i |
|
615 | t = i | |
616 | if notip: |
|
616 | if notip: | |
617 | t = [(k, n) for k, n in i if k != "tip"] |
|
617 | t = [(k, n) for k, n in i if k != "tip"] | |
@@ -626,9 +626,10 def tags(web): | |||||
626 | return web.sendtemplate( |
|
626 | return web.sendtemplate( | |
627 | 'tags', |
|
627 | 'tags', | |
628 | node=hex(web.repo.changelog.tip()), |
|
628 | node=hex(web.repo.changelog.tip()), | |
629 |
entries=lam |
|
629 | entries=templateutil.mappinggenerator(entries, args=(False, False)), | |
630 | entriesnotip=lambda **x: entries(True, False, **x), |
|
630 | entriesnotip=templateutil.mappinggenerator(entries, | |
631 | latestentry=lambda **x: entries(True, True, **x)) |
|
631 | args=(True, False)), | |
|
632 | latestentry=templateutil.mappinggenerator(entries, args=(True, True))) | |||
632 |
|
633 | |||
633 | @webcommand('bookmarks') |
|
634 | @webcommand('bookmarks') | |
634 | def bookmarks(web): |
|
635 | def bookmarks(web): |
General Comments 0
You need to be logged in to leave comments.
Login now