Mercurial > hg-stable
changeset 24083:5fbb5217a6c8
webcommands: document "bookmarks" web command
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Fri, 06 Feb 2015 20:43:54 -0800 |
parents | 32dabf811b39 |
children | ef06e2b1a3d1 |
files | mercurial/hgweb/webcommands.py |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py Fri Feb 06 20:44:10 2015 -0800 +++ b/mercurial/hgweb/webcommands.py Fri Feb 06 20:43:54 2015 -0800 @@ -520,6 +520,16 @@ @webcommand('bookmarks') def bookmarks(web, req, tmpl): + """ + /bookmarks + ---------- + + Show information about bookmarks. + + No arguments are accepted. + + The ``bookmarks`` template is rendered. + """ i = [b for b in web.repo._bookmarks.items() if b[1] in web.repo] parity = paritygen(web.stripecount)