changeset 24082:32dabf811b39

webcommands: document "branches" web command
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 06 Feb 2015 20:44:10 -0800
parents ff42de48193c
children 5fbb5217a6c8
files mercurial/hgweb/webcommands.py
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)