# HG changeset patch # User Pierre-Yves David # Date 1652920491 -3600 # Node ID 04a812f507be50dbefc83745ef3bc60d0601d60e # Parent 801ef401597e8e912894c78d701c3e1944ff02be copies-sdc: mark upgrade action as changelog only We don't need to recompute the other revlog to add the changelog-v2 feature. This simplify upgrade that use copies-sdc (as shown in the tests). diff -r 801ef401597e -r 04a812f507be mercurial/upgrade_utils/actions.py --- a/mercurial/upgrade_utils/actions.py Thu May 19 01:24:16 2022 +0100 +++ b/mercurial/upgrade_utils/actions.py Thu May 19 01:34:51 2022 +0100 @@ -362,6 +362,9 @@ b'Allows to use more efficient algorithm to deal with ' b'copy tracing.' ) + touches_filelogs = False + touches_manifests = False + @registerformatvariant class revlogv2(requirementformatvariant): diff -r 801ef401597e -r 04a812f507be tests/test-copies-chain-merge.t --- a/tests/test-copies-chain-merge.t Thu May 19 01:24:16 2022 +0100 +++ b/tests/test-copies-chain-merge.t Thu May 19 01:34:51 2022 +0100 @@ -1661,9 +1661,7 @@ added: exp-changelog-v2, exp-copies-sidedata-changeset processed revlogs: - - all-filelogs - changelog - - manifest #endif @@ -1689,9 +1687,7 @@ added: exp-changelog-v2, exp-copies-sidedata-changeset processed revlogs: - - all-filelogs - changelog - - manifest #endif diff -r 801ef401597e -r 04a812f507be tests/test-copies-in-changeset.t --- a/tests/test-copies-in-changeset.t Thu May 19 01:24:16 2022 +0100 +++ b/tests/test-copies-in-changeset.t Thu May 19 01:34:51 2022 +0100 @@ -443,9 +443,7 @@ removed: exp-changelog-v2, exp-copies-sidedata-changeset processed revlogs: - - all-filelogs - changelog - - manifest $ hg debugformat -v | egrep 'format-variant|revlog-v2|copies-sdc|changelog-v2' format-variant repo config default @@ -470,9 +468,7 @@ added: exp-changelog-v2, exp-copies-sidedata-changeset processed revlogs: - - all-filelogs - changelog - - manifest $ hg debugformat -v | egrep 'format-variant|revlog-v2|copies-sdc|changelog-v2' format-variant repo config default