# HG changeset patch
# User Yuya Nishihara <y...@tcha.org>
# Date 1523625613 -32400
#      Fri Apr 13 22:20:13 2018 +0900
# Node ID 7a8009978a8f5f0a0b34d356fa4f506065f572f8
# Parent  356d01cf53f693c0ff8dd9de49ba85037f57a048
logcmdutil: remove unused attribute 'cache' from jsonchangeset printer

Perhaps it's a copy-pasta of changeset_templater at bd15932846a4.

diff --git a/mercurial/logcmdutil.py b/mercurial/logcmdutil.py
--- a/mercurial/logcmdutil.py
+++ b/mercurial/logcmdutil.py
@@ -317,7 +317,6 @@ class jsonchangeset(changesetprinter):
 
     def __init__(self, ui, repo, differ=None, diffopts=None, buffered=False):
         changesetprinter.__init__(self, ui, repo, differ, diffopts, buffered)
-        self.cache = {}
         self._first = True
 
     def close(self):
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to