# HG changeset patch # User Gregory Szorc # Date 1423284250 28800 # Node ID 32dabf811b392d3a4dffce25bce9a9fd7b666114 # Parent ff42de48193c734d690dfb7657d4c155d0320f86 webcommands: document "branches" web command diff -r ff42de48193c -r 32dabf811b39 mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py Fri Feb 06 20:41:08 2015 -0800 +++ b/mercurial/hgweb/webcommands.py Fri Feb 06 20:44:10 2015 -0800 @@ -541,6 +541,18 @@ @webcommand('branches') def branches(web, req, tmpl): + """ + /branches + --------- + + Show information about branches. + + All known branches are contained in the output, even closed branches. + + No arguments are accepted. + + The ``branches`` template is rendered. + """ tips = [] heads = web.repo.heads() parity = paritygen(web.stripecount)