Mercurial > public > mercurial-scm > hg-stable
diff mercurial/dirstate.py @ 48133:5fc2dfb073d6
dirstatemap: rename `_rustmap` to `_map`
This match the name of the `map` for the other implementation and will make it
simpler to share code between the two.
Differential Revision: https://phab.mercurial-scm.org/D11566
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 01 Oct 2021 17:10:24 +0200 |
parents | dcd97b082b3b |
children | 98b3eb6c1479 |
line wrap: on
line diff
--- a/mercurial/dirstate.py Fri Oct 01 16:52:44 2021 +0200 +++ b/mercurial/dirstate.py Fri Oct 01 17:10:24 2021 +0200 @@ -1252,7 +1252,7 @@ traversed, dirty, ) = rustmod.status( - self._map._rustmap, + self._map._map, matcher, self._rootdir, self._ignorefiles(), @@ -1452,7 +1452,7 @@ """ dmap = self._map if rustmod is not None: - dmap = self._map._rustmap + dmap = self._map._map if match.always(): return dmap.keys()