--- a/mercurial/utils/procutil.py Thu Mar 03 17:39:20 2022 -0800
+++ b/mercurial/utils/procutil.py Thu Mar 03 18:28:30 2022 -0800
@@ -342,7 +342,7 @@
def filter(s, cmd):
"""filter a string through a command that transforms its input to its
output"""
- for name, fn in pycompat.iteritems(_filtertable):
+ for name, fn in _filtertable.items():
if cmd.startswith(name):
return fn(s, cmd[len(name) :].lstrip())
return pipefilter(s, cmd)
@@ -448,7 +448,7 @@
env = dict(encoding.environ)
if environ:
- env.update((k, py2shell(v)) for k, v in pycompat.iteritems(environ))
+ env.update((k, py2shell(v)) for k, v in environ.items())
env[b'HG'] = hgexecutable()
return env