# HG changeset patch # User Bryan O'Sullivan # Date 1194484034 28800 # Node ID 03bb1296a1c359c6d87113e3b1800f23d754c6dc # Parent 11d7908a3ea8348312e433d78ad65ea1a9e9c91a convert: iterate diff -r 11d7908a3ea8 -r 03bb1296a1c3 hgext/convert/subversion.py --- 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: