convert: remove unused newnames variable in filemap
authorPatrick Mezard <patrick@mezard.eu>
Mon, 16 Jul 2012 15:50:19 +0200
changeset 17184 5fa09a3b0034
parent 17183 4253cfee08ef
child 17185 2c7c4824969e
convert: remove unused newnames variable in filemap
hgext/convert/filemap.py
--- 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 = {}