diff hgext/convert/subversion.py @ 15124:8542a9c9f679

convert: rename local variable
author Martin Geisler <mg@aragost.com>
date Mon, 19 Sep 2011 14:19:26 +0200
parents 38af0f514134
children dbdb777502dc
line wrap: on
line diff
--- a/hgext/convert/subversion.py	Sat Sep 17 13:42:11 2011 -0500
+++ b/hgext/convert/subversion.py	Mon Sep 19 14:19:26 2011 +0200
@@ -501,11 +501,11 @@
                                 and not p[2].startswith(badroot + '/')]
 
                 # Tell tag renamings from tag creations
-                remainings = []
+                renamings = []
                 for source, sourcerev, dest in pendings:
                     tagname = dest.split('/')[-1]
                     if source.startswith(srctagspath):
-                        remainings.append([source, sourcerev, tagname])
+                        renamings.append([source, sourcerev, tagname])
                         continue
                     if tagname in tags:
                         # Keep the latest tag value
@@ -521,7 +521,7 @@
                         # but were really created in the tag
                         # directory.
                         pass
-                pendings = remainings
+                pendings = renamings
                 tagspath = srctagspath
         finally:
             stream.close()