[PATCH 09 of 22 hgweb-help] webcommands: document "tags" web command

Gregory Szorc gregory.szorc at gmail.com
Sat Feb 7 01:15:47 CST 2015


# HG changeset patch
# User Gregory Szorc <gregory.szorc at gmail.com>
# Date 1423284286 28800
#      Fri Feb 06 20:44:46 2015 -0800
# Node ID 4e057c4c9c9efc4f5e5b2858b9056d3e7d5a4cf6
# Parent  383c2c81b9be38c6da8bd8dfb196aa6294583230
webcommands: document "tags" web command

diff --git a/mercurial/hgweb/webcommands.py b/mercurial/hgweb/webcommands.py
--- a/mercurial/hgweb/webcommands.py
+++ b/mercurial/hgweb/webcommands.py
@@ -499,8 +499,18 @@ def manifest(web, req, tmpl):
                 branches=webutil.nodebranchdict(web.repo, ctx))
 
 @webcommand('tags')
 def tags(web, req, tmpl):
+    """
+    /tags
+    -----
+
+    Show information about tags.
+
+    No arguments are accepted.
+
+    The ``tags`` template is rendered.
+    """
     i = list(reversed(web.repo.tagslist()))
     parity = paritygen(web.stripecount)
 
     def entries(notip, latestonly, **map):


More information about the Mercurial-devel mailing list