Mercurial > public > mercurial-scm > hg-stable
diff mercurial/templatekw.py @ 13592:ad2ee188f4a5
templates: document missing keywords or filters
Keywords keywords are not documented yet but are turned into function
definitions to avoid lambda docstring weirdness.
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sat, 12 Mar 2011 12:46:31 +0100 |
parents | 2e80d495592a |
children | cc4721ed7a2a |
line wrap: on
line diff
--- a/mercurial/templatekw.py Sat Mar 12 12:46:31 2011 +0100 +++ b/mercurial/templatekw.py Sat Mar 12 12:46:31 2011 +0100 @@ -163,6 +163,9 @@ return showlist('branch', [branch], plural='branches', **args) def showbookmarks(**args): + """:bookmarks: List of strings. Any bookmarks associated with the + changeset. + """ bookmarks = args['ctx'].bookmarks() return showlist('bookmark', bookmarks, **args)