# HG changeset patch # User Pierre-Yves David # Date 1626668400 -7200 # Node ID 724a77979b479225e22430f300dbb56451d7dbc2 # Parent d06ced90c80fd69d94b1fb13d9cc001c6b95ad6c dirstatemap: use `set_possibly_dirty` in `clearambiguoustimes` lets put this new method to use Differential Revision: https://phab.mercurial-scm.org/D11121 diff -r d06ced90c80f -r 724a77979b47 mercurial/dirstatemap.py --- a/mercurial/dirstatemap.py Mon Jul 19 06:30:04 2021 +0200 +++ b/mercurial/dirstatemap.py Mon Jul 19 06:20:00 2021 +0200 @@ -261,9 +261,7 @@ for f in files: e = self.get(f) if e is not None and e.need_delay(now): - self._map[f] = DirstateItem( - e.state, e.mode, e.size, AMBIGUOUS_TIME - ) + e.set_possibly_dirty() self.nonnormalset.add(f) def nonnormalentries(self):