[PATCH 20 of 22 hgweb-help] webcommands: document "filelog" web command
Gregory Szorc
gregory.szorc at gmail.com
Sat Feb 7 01:15:58 CST 2015
# HG changeset patch
# User Gregory Szorc <gregory.szorc at gmail.com>
# Date 1423289514 28800
# Fri Feb 06 22:11:54 2015 -0800
# Node ID 930ebcac556188143428bbc0bb1811b5df640c31
# Parent 30b174b9083803b36f8d2f993dbd10f9739d8c60
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
@@ -988,8 +988,19 @@ def annotate(web, req, tmpl):
permissions=fctx.manifest().flags(f))
@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)
f = fctx.path()
More information about the Mercurial-devel
mailing list