Mercurial > public > mercurial-scm > hg-stable
diff mercurial/dirstate.py @ 47356:04d1f17f49e7
dirstate-v2: Write .hg/dirstate back to disk on directory cache changes
Differential Revision: https://phab.mercurial-scm.org/D10827
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Mon, 31 May 2021 18:35:44 +0200 |
parents | a43d256c041a |
children | 3b9914b28133 |
line wrap: on
line diff
--- a/mercurial/dirstate.py Fri May 28 11:48:59 2021 +0200 +++ b/mercurial/dirstate.py Mon May 31 18:35:44 2021 +0200 @@ -1137,6 +1137,7 @@ warnings, bad, traversed, + dirty, ) = rustmod.status( self._map._rustmap, matcher, @@ -1150,6 +1151,8 @@ bool(matcher.traversedir), ) + self._dirty |= dirty + if matcher.traversedir: for dir in traversed: matcher.traversedir(dir)