Mercurial > hg
diff mercurial/dirstatemap.py @ 51700:7f0cb9ee0534
Backout accidental publication of a large range of revisions
I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Tue, 23 Jul 2024 10:02:46 +0200 |
parents | 493034cc3265 |
children | ca7bde5dbafb |
line wrap: on
line diff
--- 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