changeset 11130:e81966e88e80

convert/svn: remove unused variable
author Patrick Mezard <pmezard@gmail.com>
date Sun, 09 May 2010 19:37:16 +0200
parents ee8ea6356733
children 0b6fd18ab8af
files hgext/convert/subversion.py
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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)