comparison tests/test-status-tracked-key.t @ 48792:8bbb1abb9d19

tracked-file: rename the format option to use `use-` This is more consistent with the other options. Differential Revision: https://phab.mercurial-scm.org/D12200
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 17 Feb 2022 06:41:54 +0100
parents 1af95465961a
children 6e559391f96e
comparison
equal deleted inserted replaced
48791:1af95465961a 48792:8bbb1abb9d19
7 7
8 basic setup 8 basic setup
9 9
10 $ cat << EOF >> $HGRCPATH 10 $ cat << EOF >> $HGRCPATH
11 > [format] 11 > [format]
12 > dirstate-tracked-key=yes 12 > use-dirstate-tracked-key=yes
13 > EOF 13 > EOF
14 14
15 $ hg init tracked-key-test 15 $ hg init tracked-key-test
16 $ cd tracked-key-test 16 $ cd tracked-key-test
17 $ hg debugbuilddag '.+10' -n 17 $ hg debugbuilddag '.+10' -n
170 $ hg debugrequires | grep 'tracked' 170 $ hg debugrequires | grep 'tracked'
171 dirstate-tracked-key-v1 171 dirstate-tracked-key-v1
172 172
173 downgrade 173 downgrade
174 174
175 $ hg debugupgraderepo --config format.dirstate-tracked-key=no --run --quiet 175 $ hg debugupgraderepo --config format.use-dirstate-tracked-key=no --run --quiet
176 upgrade will perform the following actions: 176 upgrade will perform the following actions:
177 177
178 requirements 178 requirements
179 preserved: * (glob) 179 preserved: * (glob)
180 removed: dirstate-tracked-key-v1 180 removed: dirstate-tracked-key-v1
187 $ hg debugrequires | grep 'tracked' 187 $ hg debugrequires | grep 'tracked'
188 [1] 188 [1]
189 189
190 upgrade 190 upgrade
191 191
192 $ hg debugupgraderepo --config format.dirstate-tracked-key=yes --run --quiet 192 $ hg debugupgraderepo --config format.use-dirstate-tracked-key=yes --run --quiet
193 upgrade will perform the following actions: 193 upgrade will perform the following actions:
194 194
195 requirements 195 requirements
196 preserved: * (glob) 196 preserved: * (glob)
197 added: dirstate-tracked-key-v1 197 added: dirstate-tracked-key-v1