changeset 48058:40dd56086056

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
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 22 Sep 2021 09:46:37 +0200
parents 62188e4de549
children 5d68c4eedd66
files mercurial/dirstate.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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,