# HG changeset patch # User Gregory Szorc # Date 1423289514 28800 # Node ID 1f48b157dccf86e34155d2050b92cf86efd2c00d # Parent 9c810d46a093b5d2519279531670f7859525d7fb webcommands: document "filelog" web command diff -r 9c810d46a093 -r 1f48b157dccf mercurial/hgweb/webcommands.py --- 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)