hgext/remotefilelog/remotefilelogserver.py
changeset 48913 f254fc73d956
parent 48875 6000f5b25c9b
child 48946 642e31cb55f0
--- a/hgext/remotefilelog/remotefilelogserver.py	Thu Mar 03 17:39:20 2022 -0800
+++ b/hgext/remotefilelog/remotefilelogserver.py	Thu Mar 03 18:28:30 2022 -0800
@@ -21,7 +21,6 @@
     error,
     extensions,
     match,
-    pycompat,
     scmutil,
     store,
     streamclone,
@@ -416,7 +415,7 @@
     cachepath = repo.vfs.join(b"remotefilelogcache")
     for head in heads:
         mf = repo[head].manifest()
-        for filename, filenode in pycompat.iteritems(mf):
+        for filename, filenode in mf.items():
             filecachepath = os.path.join(cachepath, filename, hex(filenode))
             neededfiles.add(filecachepath)