Mercurial > hg-stable
changeset 24095:1f48b157dccf
webcommands: document "filelog" web command
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Fri, 06 Feb 2015 22:11:54 -0800 |
parents | 9c810d46a093 |
children | bb8b6d44fe1d |
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 22:08:30 2015 -0800 +++ b/mercurial/hgweb/webcommands.py Fri Feb 06 22:11:54 2015 -0800 @@ -986,6 +986,17 @@ @webcommand('filelog') def filelog(web, req, tmpl): + """ + /filelog/{revision}/{path} + -------------------------- + + Show information about the history of a file in the repository. + + The ``revcount`` query string argument can be defined to control the + maximum number of entries to show. + + The ``filelog`` template will be rendered. + """ try: fctx = webutil.filectx(web.repo, req)