changeset 17184:5fa09a3b0034

convert: remove unused newnames variable in filemap
author Patrick Mezard <patrick@mezard.eu>
date Mon, 16 Jul 2012 15:50:19 +0200
parents 4253cfee08ef
children 2c7c4824969e
files hgext/convert/filemap.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/filemap.py	Thu Jul 12 03:03:19 2012 +0200
+++ b/hgext/convert/filemap.py	Mon Jul 16 15:50:19 2012 +0200
@@ -357,13 +357,11 @@
         # able to get the files later on in getfile, we hide the
         # original filename in the rev part of the return value.
         changes, copies = self.base.getchanges(rev)
-        newnames = {}
         files = {}
         for f, r in changes:
             newf = self.filemapper(f)
             if newf and (newf != f or newf not in files):
                 files[newf] = (f, r)
-                newnames[f] = newf
         files = sorted(files.items())
 
         ncopies = {}