From patchwork Sat Feb 7 07:15:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [11,of,22,hgweb-help] webcommands: document "shortlog" web command From: Gregory Szorc X-Patchwork-Id: 7749 Message-Id: <8b2a12f65895dfad960e.1423293349@gps-mbp.local> To: mercurial-devel@selenic.com Date: Fri, 06 Feb 2015 23:15:49 -0800 # HG changeset patch # User Gregory Szorc # Date 1423284617 28800 # Fri Feb 06 20:50:17 2015 -0800 # Node ID 8b2a12f65895dfad960ef4f5d301e99c1219d7a4 # Parent 00c7f65b12a5a70e9b515ee3225ab678c88acde5 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 @@ -348,8 +348,18 @@ def changelog(web, req, tmpl, shortlog=F morevars=morevars, lessvars=lessvars, query=query) @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') def changeset(web, req, tmpl):