comparison tests/test-status-color.t @ 48384: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 9c9e0b4b2ca7
children d71b9902e2de
comparison
equal deleted inserted replaced
48383:8b927b33310a 48384:b7fde9237c92
1 TODO: fix rhg bugs that make this test fail when status is enabled
2 $ unset RHG_STATUS
3
4
1 $ cat <<EOF >> $HGRCPATH 5 $ cat <<EOF >> $HGRCPATH
2 > [ui] 6 > [ui]
3 > color = always 7 > color = always
4 > [color] 8 > [color]
5 > mode = ansi 9 > mode = ansi