mercurial/dirstate.py
changeset 47983 ffde999a3ea9
parent 47982 36c0d738c330
child 47984 6255a0d33c45
--- a/mercurial/dirstate.py	Wed Sep 15 09:28:17 2021 +0200
+++ b/mercurial/dirstate.py	Wed Sep 15 10:05:25 2021 +0200
@@ -738,7 +738,6 @@
     def _add(self, filename):
         """internal function to mark a file as added"""
         self._addpath(filename, added=True)
-        self._map.copymap.pop(filename, None)
 
     def _drop(self, filename):
         """internal function to drop a file from the dirstate"""