Submitter | Gregory Szorc |
---|---|
Date | Feb. 7, 2015, 7:15 a.m. |
Message ID | <30b174b9083803b36f8d.1423293357@gps-mbp.local> |
Download | mbox | patch |
Permalink | /patch/7757/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/hgweb/webcommands.py b/mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py +++ b/mercurial/hgweb/webcommands.py @@ -927,8 +927,16 @@ def comparison(web, req, tmpl): comparison=comparison) @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) diffopts = patch.difffeatureopts(web.repo.ui, untrusted=True,