mercurial/dirstate.py
changeset 29247 3e438497edca
parent 29189 930d4ee4647e
child 29269 b6f9934cf10b
--- a/mercurial/dirstate.py	Thu May 26 02:35:44 2016 +0000
+++ b/mercurial/dirstate.py	Wed May 25 16:09:07 2016 -0700
@@ -582,6 +582,8 @@
             del self._map[f]
             if f in self._nonnormalset:
                 self._nonnormalset.remove(f)
+            if f in self._copymap:
+                del self._copymap[f]
 
     def _discoverpath(self, path, normed, ignoremissing, exists, storemap):
         if exists is None: