# HG changeset patch # User Pierre-Yves David # Date 2022-05-19 00:40:37 # Node ID ead8e5dddb3cefb0f0ed5630799b7372b259d9dd # Parent eb5954f092a922570c048504146d414e46211c28 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. diff --git a/tests/test-copies-in-changeset.t b/tests/test-copies-in-changeset.t --- a/tests/test-copies-in-changeset.t +++ b/tests/test-copies-in-changeset.t @@ -435,7 +435,18 @@ downgrading > [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 @@ upgrading > [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