changeset 43105 | 649d3ac37a12 |
parent 43077 | 687b865b95ad |
child 43117 | 8ff1ecfadcd1 |
--- a/hgext/uncommit.py Sun Oct 06 17:59:15 2019 -0400 +++ b/hgext/uncommit.py Sun Oct 06 19:25:18 2019 -0400 @@ -78,7 +78,9 @@ files = initialfiles - exclude # Filter copies copied = copiesmod.pathcopies(base, ctx) - copied = dict((dst, src) for dst, src in copied.iteritems() if dst in files) + copied = dict( + (dst, src) for dst, src in pycompat.iteritems(copied) if dst in files + ) def filectxfn(repo, memctx, path, contentctx=ctx, redirect=()): if path not in contentctx: