# HG changeset patch # User Gregory Szorc # Date 2015-02-07 06:11:54 # Node ID 1f48b157dccf86e34155d2050b92cf86efd2c00d # Parent 9c810d46a093b5d2519279531670f7859525d7fb webcommands: document "filelog" web command diff --git a/mercurial/hgweb/webcommands.py b/mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py +++ b/mercurial/hgweb/webcommands.py @@ -986,6 +986,17 @@ def annotate(web, req, tmpl): @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)