mercurial/templatekw.py
changeset 13592 ad2ee188f4a5
parent 13585 2e80d495592a
child 13593 cc4721ed7a2a
equal deleted inserted replaced
13591:264f292a0c6f 13592:ad2ee188f4a5
   161     branch = args['ctx'].branch()
   161     branch = args['ctx'].branch()
   162     if branch != 'default':
   162     if branch != 'default':
   163         return showlist('branch', [branch], plural='branches', **args)
   163         return showlist('branch', [branch], plural='branches', **args)
   164 
   164 
   165 def showbookmarks(**args):
   165 def showbookmarks(**args):
       
   166     """:bookmarks: List of strings. Any bookmarks associated with the
       
   167     changeset.
       
   168     """
   166     bookmarks = args['ctx'].bookmarks()
   169     bookmarks = args['ctx'].bookmarks()
   167     return showlist('bookmark', bookmarks, **args)
   170     return showlist('bookmark', bookmarks, **args)
   168 
   171 
   169 def showchildren(**args):
   172 def showchildren(**args):
   170     """:children: List of strings. The children of the changeset."""
   173     """:children: List of strings. The children of the changeset."""