Mercurial > public > mercurial-scm > hg
comparison mercurial/hgweb/webcommands.py @ 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 |
comparison
equal
deleted
inserted
replaced
24085:0bf61eae67ab | 24086:2d8e93554822 |
---|---|
344 archives=web.archivelist("tip"), revcount=revcount, | 344 archives=web.archivelist("tip"), revcount=revcount, |
345 morevars=morevars, lessvars=lessvars, query=query) | 345 morevars=morevars, lessvars=lessvars, query=query) |
346 | 346 |
347 @webcommand('shortlog') | 347 @webcommand('shortlog') |
348 def shortlog(web, req, tmpl): | 348 def shortlog(web, req, tmpl): |
349 """ | |
350 /shortlog | |
351 --------- | |
352 | |
353 Show basic information about a set of changesets. | |
354 | |
355 This accepts the same parameters as the ``changelog`` handler. The only | |
356 difference is the ``shortlog`` template will be rendered instead of the | |
357 ``changelog`` template. | |
358 """ | |
349 return changelog(web, req, tmpl, shortlog=True) | 359 return changelog(web, req, tmpl, shortlog=True) |
350 | 360 |
351 @webcommand('changeset') | 361 @webcommand('changeset') |
352 def changeset(web, req, tmpl): | 362 def changeset(web, req, tmpl): |
353 """ | 363 """ |