diff -r 87e3f878e65f -r 7ab99007fce5 mercurial/dirstate.py --- a/mercurial/dirstate.py Tue Sep 14 18:25:51 2021 +0200 +++ b/mercurial/dirstate.py Thu Sep 02 02:44:12 2021 +0200 @@ -749,7 +749,6 @@ if self._map.dropfile(filename): self._dirty = True self._updatedfiles.add(filename) - self._map.copymap.pop(filename, None) def _discoverpath(self, path, normed, ignoremissing, exists, storemap): if exists is None: