equal
deleted
inserted
replaced
923 rightnode=hex(rightnode), |
923 rightnode=hex(rightnode), |
924 comparison=comparison) |
924 comparison=comparison) |
925 |
925 |
926 @webcommand('annotate') |
926 @webcommand('annotate') |
927 def annotate(web, req, tmpl): |
927 def annotate(web, req, tmpl): |
|
928 """ |
|
929 /annotate/{revision}/{path} |
|
930 --------------------------- |
|
931 |
|
932 Show changeset information for each line in a file. |
|
933 |
|
934 The ``fileannotate`` template is rendered. |
|
935 """ |
928 fctx = webutil.filectx(web.repo, req) |
936 fctx = webutil.filectx(web.repo, req) |
929 f = fctx.path() |
937 f = fctx.path() |
930 parity = paritygen(web.stripecount) |
938 parity = paritygen(web.stripecount) |
931 diffopts = patch.difffeatureopts(web.repo.ui, untrusted=True, |
939 diffopts = patch.difffeatureopts(web.repo.ui, untrusted=True, |
932 section='annotate', whitespace=True) |
940 section='annotate', whitespace=True) |