Mercurial > hg-stable
changeset 49217:ead8e5dddb3c
copies-sdc: no longer suppress the upgrade output
To make sure the upgrade simplification we need are taken into account, we need
to see more of the output of `debugupgraderepo`. The --quiet flag simplify the
output a lot and globing the `preserved` field mean this output should remains
stable across (future) unrelated changes.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 19 May 2022 01:40:37 +0100 |
parents | eb5954f092a9 |
children | 801ef401597e |
files | tests/test-copies-in-changeset.t |
diffstat | 1 files changed, 24 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-copies-in-changeset.t Thu May 19 01:37:59 2022 +0100 +++ b/tests/test-copies-in-changeset.t Thu May 19 01:40:37 2022 +0100 @@ -435,7 +435,18 @@ > [format] > exp-use-copies-side-data-changeset = no > EOF - $ hg debugupgraderepo --run --quiet --no-backup > /dev/null + $ hg debugupgraderepo --run --quiet --no-backup + upgrade will perform the following actions: + + requirements + preserved: * (glob) + 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 copies-sdc: no no no @@ -451,7 +462,18 @@ > [format] > exp-use-copies-side-data-changeset = yes > EOF - $ hg debugupgraderepo --run --quiet --no-backup > /dev/null + $ hg debugupgraderepo --run --quiet --no-backup + upgrade will perform the following actions: + + requirements + preserved: * (glob) + 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 copies-sdc: yes yes no