--- 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(),