##// END OF EJS Templates
templatekw: rename variable current to active...
Ryan McElroy -
r25012:256c8432 default
parent child Browse files
Show More
@@ -227,9 +227,9 b' def showcurrentbookmark(**args):'
227 import bookmarks as bookmarks # to avoid circular import issues
227 import bookmarks as bookmarks # to avoid circular import issues
228 repo = args['repo']
228 repo = args['repo']
229 if bookmarks.isactivewdirparent(repo):
229 if bookmarks.isactivewdirparent(repo):
230 current = repo._activebookmark
230 active = repo._activebookmark
231 if current in args['ctx'].bookmarks():
231 if active in args['ctx'].bookmarks():
232 return current
232 return active
233 return ''
233 return ''
234
234
235 def showdate(repo, ctx, templ, **args):
235 def showdate(repo, ctx, templ, **args):
General Comments 0
You need to be logged in to leave comments. Login now