mercurial/revlogutils/nodemap.py
changeset 51696 7f0cb9ee0534
parent 51686 493034cc3265
child 51699 ca7bde5dbafb
--- a/mercurial/revlogutils/nodemap.py	Mon Jul 22 16:49:38 2024 +0200
+++ b/mercurial/revlogutils/nodemap.py	Tue Jul 23 10:02:46 2024 +0200
@@ -553,7 +553,7 @@
 
     Children blocks are always yield before their parent block.
     """
-    for __, item in sorted(block.items()):
+    for (__, item) in sorted(block.items()):
         if isinstance(item, dict):
             for sub_block in _walk_trie(item):
                 yield sub_block