# HG changeset patch # User Gregory Szorc # Date 2015-02-07 04:50:17 # Node ID 2d8e935548225690ceeeb53d795858addb4d9798 # Parent 0bf61eae67ab0dcba8cf2a28fd1cb33e50238704 webcommands: document "shortlog" web command diff --git a/mercurial/hgweb/webcommands.py b/mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py +++ b/mercurial/hgweb/webcommands.py @@ -346,6 +346,16 @@ def changelog(web, req, tmpl, shortlog=F @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')