comparison tests/test-symlinks.t @ 48335:b7fde9237c92

rhg: Enable `rhg status` in most tests This subcommand is disabled by default because of bugs that make some test fail. Enable it in the rest of the tests in order to avoid regressing them. As with `RHG_ON_UNSUPPORTED`, an environment variable is used instead of a configuration file and `HGRCPATH` because some tests override `HGRCPATH`. Running `unset RHG_STATUS` at the start of a test restores the default of `rhg status` being disabled. Hopefully it can be increasingly removed from test files as bugs are fixed. Differential Revision: https://phab.mercurial-scm.org/D11756
author Simon Sapin <simon.sapin@octobus.net>
date Tue, 09 Nov 2021 19:55:46 +0100
parents bf11ff22a9af
children d5a91701f7dc
comparison
equal deleted inserted replaced
48329:8b927b33310a 48335:b7fde9237c92
8 > exp-rc-dirstate-v2=1 8 > exp-rc-dirstate-v2=1
9 > [storage] 9 > [storage]
10 > dirstate-v2.slow-path=allow 10 > dirstate-v2.slow-path=allow
11 > EOF 11 > EOF
12 #endif 12 #endif
13
14 TODO: fix rhg bugs that make this test fail when status is enabled
15 $ unset RHG_STATUS
16
13 17
14 == tests added in 0.7 == 18 == tests added in 0.7 ==
15 19
16 $ hg init test-symlinks-0.7; cd test-symlinks-0.7; 20 $ hg init test-symlinks-0.7; cd test-symlinks-0.7;
17 $ touch foo; ln -s foo bar; ln -s nonexistent baz 21 $ touch foo; ln -s foo bar; ln -s nonexistent baz