--- a/hgext/remotefilelog/shallowutil.py Thu Mar 03 17:39:20 2022 -0800
+++ b/hgext/remotefilelog/shallowutil.py Thu Mar 03 18:28:30 2022 -0800
@@ -102,7 +102,7 @@
"""
result = collections.defaultdict(lambda: 0)
for dict in dicts:
- for k, v in pycompat.iteritems(dict):
+ for k, v in dict.items():
result[k] += v
return result
@@ -110,7 +110,7 @@
def prefixkeys(dict, prefix):
"""Returns ``dict`` with ``prefix`` prepended to all its keys."""
result = {}
- for k, v in pycompat.iteritems(dict):
+ for k, v in dict.items():
result[prefix + k] = v
return result
@@ -208,7 +208,7 @@
integers.
"""
metadict = _parsepackmeta(metabuf)
- for k, v in pycompat.iteritems(metadict):
+ for k, v in metadict.items():
if k in _metaitemtypes and int in _metaitemtypes[k]:
metadict[k] = bin2int(v)
return metadict