changeset 24094:9c810d46a093

webcommands: document "annotate" web command
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 06 Feb 2015 22:08:30 -0800
parents c8639f90a715
children 1f48b157dccf
files mercurial/hgweb/webcommands.py
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py	Fri Feb 06 22:06:44 2015 -0800
+++ b/mercurial/hgweb/webcommands.py	Fri Feb 06 22:08:30 2015 -0800
@@ -925,6 +925,14 @@
 
 @webcommand('annotate')
 def annotate(web, req, tmpl):
+    """
+    /annotate/{revision}/{path}
+    ---------------------------
+
+    Show changeset information for each line in a file.
+
+    The ``fileannotate`` template is rendered.
+    """
     fctx = webutil.filectx(web.repo, req)
     f = fctx.path()
     parity = paritygen(web.stripecount)