webcommands: document "branches" web command
authorGregory Szorc <gregory.szorc@gmail.com>
Fri, 06 Feb 2015 20:44:10 -0800
changeset 24082 32dabf811b39
parent 24081 ff42de48193c
child 24083 5fbb5217a6c8
webcommands: document "branches" web command
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)