Show More
@@ -648,7 +648,7 b' def bookmarks(web):' | |||
|
648 | 648 | i = sorted(i, key=sortkey, reverse=True) |
|
649 | 649 | parity = paritygen(web.stripecount) |
|
650 | 650 | |
|
651 |
def entries( |
|
|
651 | def entries(context, latestonly): | |
|
652 | 652 | t = i |
|
653 | 653 | if latestonly: |
|
654 | 654 | t = i[:1] |
@@ -667,8 +667,8 b' def bookmarks(web):' | |||
|
667 | 667 | 'bookmarks', |
|
668 | 668 | node=hex(web.repo.changelog.tip()), |
|
669 | 669 | lastchange=[{'date': web.repo[latestrev].date()}], |
|
670 | entries=lambda **x: entries(latestonly=False, **x), | |
|
671 | latestentry=lambda **x: entries(latestonly=True, **x)) | |
|
670 | entries=templateutil.mappinggenerator(entries, args=(False,)), | |
|
671 | latestentry=templateutil.mappinggenerator(entries, args=(True,))) | |
|
672 | 672 | |
|
673 | 673 | @webcommand('branches') |
|
674 | 674 | def branches(web): |
General Comments 0
You need to be logged in to leave comments.
Login now