convert/svn: remove unused variable
authorPatrick Mezard <pmezard@gmail.com>
Sun, 09 May 2010 19:37:16 +0200
changeset 11130 e81966e88e80
parent 11129 ee8ea6356733
child 11131 0b6fd18ab8af
convert/svn: remove unused variable
hgext/convert/subversion.py
--- a/hgext/convert/subversion.py	Sun May 09 19:25:35 2010 +0200
+++ b/hgext/convert/subversion.py	Sun May 09 19:37:16 2010 +0200
@@ -612,9 +612,6 @@
 
     def expandpaths(self, rev, paths, parents):
         changed, removed = set(), set()
-        # Map of entrypath, revision for finding source of deleted
-        # revisions.
-        copyfrom = {}
         copies = {}
 
         new_module, revnum = self.revsplit(rev)[1:]
@@ -698,7 +695,6 @@
                 copyfrompath = self.getrelpath(ent.copyfrom_path, pmodule)
                 if not copyfrompath:
                     continue
-                copyfrom[path] = ent
                 self.ui.debug("mark %s came from %s:%d\n"
                               % (path, copyfrompath, ent.copyfrom_rev))
                 children = self._find_children(ent.copyfrom_path, ent.copyfrom_rev)