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)