Mercurial > hg
diff contrib/synthrepo.py @ 36299:238646784294
py3: use default dict iterator instead of iterkeys
These are the easy cases. Some cases in manifest.py will require more
careful inspection.
Differential Revision: https://phab.mercurial-scm.org/D2315
author | Augie Fackler <augie@google.com> |
---|---|
date | Sun, 18 Feb 2018 00:43:50 -0500 |
parents | 8a0cac20a1ad |
children | c6061cadb400 |
line wrap: on
line diff
--- a/contrib/synthrepo.py Sun Feb 18 00:35:37 2018 -0500 +++ b/contrib/synthrepo.py Sun Feb 18 00:43:50 2018 -0500 @@ -381,7 +381,7 @@ ui.progress(_synthesizing, None) message = 'synthesized wide repo with %d files' % (len(files),) mc = context.memctx(repo, [pctx.node(), nullid], message, - files.iterkeys(), filectxfn, ui.username(), + files, filectxfn, ui.username(), '%d %d' % util.makedate()) initnode = mc.commit() if ui.debugflag: