# HG changeset patch # User David Soria Parra # Date 2016-12-14 09:45:17 # Node ID 902c89df94e3c1c1b90487e123be3eb12f2e4d0a # Parent 364e14885cea9d0dccd892db4e6580d7abf4a155 convert: remove unused dictionaries self.parent, self.lastbranch and self.tags have never been used. diff --git a/hgext/convert/p4.py b/hgext/convert/p4.py --- a/hgext/convert/p4.py +++ b/hgext/convert/p4.py @@ -60,9 +60,6 @@ class p4_source(common.converter_source) self.changeset = {} self.files = {} self.copies = {} - self.tags = {} - self.lastbranch = {} - self.parent = {} self.encoding = self.ui.config('convert', 'p4.encoding', default=convcmd.orig_encoding) self.depotname = {} # mapping from local name to depot name @@ -292,7 +289,7 @@ class p4_source(common.converter_source) return self.changeset[rev] def gettags(self): - return self.tags + return {} def getchangedfiles(self, rev, i): return sorted([x[0] for x in self.files[rev]])