changeset 30604:902c89df94e3

convert: remove unused dictionaries self.parent, self.lastbranch and self.tags have never been used.
author David Soria Parra <davidsp@fb.com>
date Wed, 14 Dec 2016 01:45:17 -0800
parents 364e14885cea
children d584c412c4a4
files hgext/convert/p4.py
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/p4.py	Wed Dec 14 01:43:47 2016 -0800
+++ b/hgext/convert/p4.py	Wed Dec 14 01:45:17 2016 -0800
@@ -60,9 +60,6 @@
         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 @@
         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]])