##// END OF EJS Templates
py3: use default dict iterator instead of iterkeys...
Augie Fackler -
r36313:23864678 default
parent child Browse files
Show More
@@ -381,7 +381,7 b' def synthesize(ui, repo, descpath, **opt'
381 381 ui.progress(_synthesizing, None)
382 382 message = 'synthesized wide repo with %d files' % (len(files),)
383 383 mc = context.memctx(repo, [pctx.node(), nullid], message,
384 files.iterkeys(), filectxfn, ui.username(),
384 files, filectxfn, ui.username(),
385 385 '%d %d' % util.makedate())
386 386 initnode = mc.commit()
387 387 if ui.debugflag:
@@ -384,7 +384,7 b' class svn_source(converter_source):'
384 384
385 385 def setrevmap(self, revmap):
386 386 lastrevs = {}
387 for revid in revmap.iterkeys():
387 for revid in revmap:
388 388 uuid, module, revnum = revsplit(revid)
389 389 lastrevnum = lastrevs.setdefault(module, revnum)
390 390 if revnum > lastrevnum:
@@ -589,7 +589,7 b' class rebaseruntime(object):'
589 589 date=self.date)
590 590 if newnode is not None:
591 591 newrev = repo[newnode].rev()
592 for oldrev in self.state.iterkeys():
592 for oldrev in self.state:
593 593 self.state[oldrev] = newrev
594 594
595 595 if 'qtip' in repo.tags():
General Comments 0
You need to be logged in to leave comments. Login now