hgext/remotefilelog/remotefilelogserver.py
changeset 43105 649d3ac37a12
parent 43085 eef9a2d67051
child 43117 8ff1ecfadcd1
--- 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)