Mercurial > hg
changeset 47668:724a77979b47
dirstatemap: use `set_possibly_dirty` in `clearambiguoustimes`
lets put this new method to use
Differential Revision: https://phab.mercurial-scm.org/D11121
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 19 Jul 2021 06:20:00 +0200 |
parents | d06ced90c80f |
children | 55c8e0d52eef |
files | mercurial/dirstatemap.py |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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):