changeset 24086:2d8e93554822

webcommands: document "shortlog" web command
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 06 Feb 2015 20:50:17 -0800
parents 0bf61eae67ab
children 6f5b4393590c
files mercurial/hgweb/webcommands.py
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py	Fri Feb 06 20:48:22 2015 -0800
+++ b/mercurial/hgweb/webcommands.py	Fri Feb 06 20:50:17 2015 -0800
@@ -346,6 +346,16 @@
 
 @webcommand('shortlog')
 def shortlog(web, req, tmpl):
+    """
+    /shortlog
+    ---------
+
+    Show basic information about a set of changesets.
+
+    This accepts the same parameters as the ``changelog`` handler. The only
+    difference is the ``shortlog`` template will be rendered instead of the
+    ``changelog`` template.
+    """
     return changelog(web, req, tmpl, shortlog=True)
 
 @webcommand('changeset')