mercurial/dirstatemap.py
changeset 51696 7f0cb9ee0534
parent 51686 493034cc3265
child 51699 ca7bde5dbafb
--- a/mercurial/dirstatemap.py	Mon Jul 22 16:49:38 2024 +0200
+++ b/mercurial/dirstatemap.py	Tue Jul 23 10:02:46 2024 +0200
@@ -331,7 +331,7 @@
 
         `all` is unused when Rust is not enabled
         """
-        for filename, item in self.items():
+        for (filename, item) in self.items():
             yield (filename, item.state, item.mode, item.size, item.mtime)
 
     def keys(self):
@@ -617,8 +617,7 @@
 
         This should also drop associated copy information
 
-        The fact we actually need to drop it is the responsability of the caller
-        """
+        The fact we actually need to drop it is the responsability of the caller"""
         self._map.pop(f, None)
         self.copymap.pop(f, None)
 
@@ -626,6 +625,7 @@
 if rustmod is not None:
 
     class dirstatemap(_dirstatemapcommon):
+
         ### Core data storage and access
 
         @propertycache