Mercurial > hg
changeset 29325:4f2f8baba2ff
hgweb: remove unused code in annotate web command
author | Denis Laxalde <denis.laxalde@logilab.fr> |
---|---|
date | Wed, 01 Jun 2016 15:16:38 +0200 |
parents | b501579147f1 |
children | d48fc6f318a3 |
files | mercurial/hgweb/webcommands.py |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py Sat Jun 04 14:38:00 2016 +0530 +++ b/mercurial/hgweb/webcommands.py Wed Jun 01 15:16:38 2016 +0200 @@ -864,7 +864,6 @@ section='annotate', whitespace=True) def annotate(**map): - last = None if util.binary(fctx.data()): mt = (mimetypes.guess_type(fctx.path())[0] or 'application/octet-stream') @@ -874,11 +873,6 @@ lines = enumerate(fctx.annotate(follow=True, linenumber=True, diffopts=diffopts)) for lineno, ((f, targetline), l) in lines: - fnode = f.filenode() - - if last != fnode: - last = fnode - yield {"parity": next(parity), "node": f.hex(), "rev": f.rev(),