mercurial/dirstatemap.py
changeset 47668 724a77979b47
parent 47542 b8013cb71ef3
child 47672 0efaa1bbad2b
--- 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):