From patchwork Tue Sep 28 19:54:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D11504: dirstate: stop checking for path collision when adjusting parents From: phabricator X-Patchwork-Id: 49827 Message-Id: To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Tue, 28 Sep 2021 19:54:53 +0000 SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This was already checked at a earlier point when adding the file. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D11504 AFFECTED FILES mercurial/dirstate.py CHANGE DETAILS To: SimonSapin, #hg-reviewers Cc: mercurial-patches, mercurial-devel diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py --- a/mercurial/dirstate.py +++ b/mercurial/dirstate.py @@ -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,