mercurial/subrepoutil.py
changeset 46423 271dfcb98544
parent 45257 668af67bfd18
child 46643 eef13b940887
--- a/mercurial/subrepoutil.py	Fri Jan 29 13:03:50 2021 +0100
+++ b/mercurial/subrepoutil.py	Fri Jan 29 14:03:01 2021 +0100
@@ -105,7 +105,7 @@
         return src
 
     state = {}
-    for path, src in p[b''].items():
+    for path, src in p.items(b''):
         kind = b'hg'
         if src.startswith(b'['):
             if b']' not in src: