Mercurial > hg > mercurial-source
changeset 37085: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 | b1c713ab785d |
children | 413c179cf7d5 |
files | contrib/synthrepo.py hgext/convert/subversion.py hgext/rebase.py |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/synthrepo.py +++ b/contrib/synthrepo.py @@ -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: