dirstate: stop checking for path collision when adjusting parents
This was already checked at a earlier point when adding the file.
Differential Revision: https://phab.mercurial-scm.org/D11504
--- a/mercurial/dirstate.py Wed Sep 22 15:08:47 2021 +0200
+++ b/mercurial/dirstate.py Wed Sep 22 09:46:37 2021 +0200
@@ -408,7 +408,6 @@
source = self._map.copymap.get(f)
if source:
copies[f] = source
- self._check_new_tracked_filename(f)
self._map.reset_state(
f,
p1_tracked=False,