changeset 24091:6b6ec887c79b

webcommands: document "summary" web command
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 06 Feb 2015 21:51:52 -0800
parents a86b2922ea30
children 55dfea651b7f
files mercurial/hgweb/webcommands.py
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py	Fri Feb 06 21:48:01 2015 -0800
+++ b/mercurial/hgweb/webcommands.py	Fri Feb 06 21:51:52 2015 -0800
@@ -700,6 +700,17 @@
 
 @webcommand('summary')
 def summary(web, req, tmpl):
+    """
+    /summary
+    --------
+
+    Show a summary of repository state.
+
+    Information about the latest changesets, bookmarks, tags, and branches
+    is captured by this handler.
+
+    The ``summary`` template is rendered.
+    """
     i = reversed(web.repo.tagslist())
 
     def tagentries(**map):