# HG changeset patch # User Gregory Szorc # Date 2015-02-07 04:44:10 # Node ID 32dabf811b392d3a4dffce25bce9a9fd7b666114 # Parent ff42de48193c734d690dfb7657d4c155d0320f86 webcommands: document "branches" web command diff --git a/mercurial/hgweb/webcommands.py b/mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py +++ b/mercurial/hgweb/webcommands.py @@ -541,6 +541,18 @@ def bookmarks(web, req, tmpl): @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)