##// END OF EJS Templates
templatekw: inline showlist() into showbookmarks()...
Yuya Nishihara -
r24156:75a2df2b stable
parent child Browse files
Show More
@@ -199,10 +199,10 b' def showbookmarks(**args):'
199 """
199 """
200 repo = args['ctx']._repo
200 repo = args['ctx']._repo
201 bookmarks = args['ctx'].bookmarks()
201 bookmarks = args['ctx'].bookmarks()
202 hybrid = showlist('bookmark', bookmarks, **args)
202 current = repo._bookmarkcurrent
203 for value in hybrid.values:
203 c = [{'bookmark': x, 'current': current} for x in bookmarks]
204 value['current'] = repo._bookmarkcurrent
204 f = _showlist('bookmark', bookmarks, **args)
205 return hybrid
205 return _hybrid(f, c)
206
206
207 def showchildren(**args):
207 def showchildren(**args):
208 """:children: List of strings. The children of the changeset."""
208 """:children: List of strings. The children of the changeset."""
General Comments 0
You need to be logged in to leave comments. Login now