[Request] [+ ] D9119: salvaged: track removal-candidates in more cases
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Tue Sep 29 10:37:20 UTC 2020
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
If we want to use this information for copy tracing, then we need to be able to
record it.
First we unlock the recording of deletion candidate, and we will actually record
the data in the next changeset.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D9119
AFFECTED FILES
mercurial/merge.py
CHANGE DETAILS
diff --git a/mercurial/merge.py b/mercurial/merge.py
--- a/mercurial/merge.py
+++ b/mercurial/merge.py
@@ -781,7 +781,10 @@
if (
pa not in ([wctx, p2] + wctx.parents())
and not forcefulldiff
- and not repo.ui.configbool(b'experimental', b'merge-track-salvaged')
+ and not (
+ repo.ui.configbool(b'experimental', b'merge-track-salvaged')
+ or repo.filecopiesmode == b'changeset-sidedata'
+ )
):
# Identify which files are relevant to the merge, so we can limit the
# total m1-vs-m2 diff to just those files. This has significant
To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20200929/5f556ca9/attachment.html>
More information about the Mercurial-patches
mailing list