changeset 5511:03bb1296a1c3

convert: iterate
author Bryan O'Sullivan <bos@serpentine.com>
date Wed, 07 Nov 2007 17:07:14 -0800
parents 11d7908a3ea8
children 8cd26ccc68f8
files hgext/convert/subversion.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/subversion.py	Wed Nov 07 17:06:02 2007 -0800
+++ b/hgext/convert/subversion.py	Wed Nov 07 17:07:14 2007 -0800
@@ -151,7 +151,7 @@
 
     def setrevmap(self, revmap):
         lastrevs = {}
-        for revid in revmap.keys():
+        for revid in revmap.iterkeys():
             uuid, module, revnum = self.revsplit(revid)
             lastrevnum = lastrevs.setdefault(module, revnum)
             if revnum > lastrevnum: