--- a/hgext/remotefilelog/remotefilelogserver.py Sun Oct 06 17:59:15 2019 -0400
+++ b/hgext/remotefilelog/remotefilelogserver.py Sun Oct 06 19:25:18 2019 -0400
@@ -22,6 +22,7 @@
error,
extensions,
match,
+ pycompat,
store,
streamclone,
util,
@@ -417,7 +418,7 @@
cachepath = repo.vfs.join(b"remotefilelogcache")
for head in heads:
mf = repo[head].manifest()
- for filename, filenode in mf.iteritems():
+ for filename, filenode in pycompat.iteritems(mf):
filecachepath = os.path.join(cachepath, filename, hex(filenode))
neededfiles.add(filecachepath)