##// END OF EJS Templates
rhg: Enable `rhg status` in most tests...
Simon Sapin -
r49158:b7fde923 default
parent child Browse files
Show More
@@ -114,6 +114,7 b' impl Config {'
114 114 b"rhg",
115 115 b"fallback-executable",
116 116 );
117 config.add_for_environment_variable("RHG_STATUS", b"rhg", b"status");
117 118
118 119 // HGRCPATH replaces user config
119 120 if opt_rc_path.is_none() {
@@ -3228,6 +3228,7 b' class TestRunner(object):'
3228 3228 # output.
3229 3229 osenvironb[b'RHG_ON_UNSUPPORTED'] = b'fallback'
3230 3230 osenvironb[b'RHG_FALLBACK_EXECUTABLE'] = real_hg
3231 osenvironb[b'RHG_STATUS'] = b'1'
3231 3232 else:
3232 3233 # drop flag for hghave
3233 3234 osenvironb.pop(b'RHG_INSTALLED_AS_HG', None)
@@ -1,3 +1,7 b''
1 TODO: fix rhg bugs that make this test fail when status is enabled
2 $ unset RHG_STATUS
3
4
1 5 Create a repository:
2 6
3 7 #if no-extraextensions
@@ -1,3 +1,7 b''
1 TODO: fix rhg bugs that make this test fail when status is enabled
2 $ unset RHG_STATUS
3
4
1 5 $ hg init
2 6 $ cat << EOF > a
3 7 > Small Mathematical Series.
@@ -9,6 +9,10 b''
9 9 > EOF
10 10 #endif
11 11
12 TODO: fix rhg bugs that make this test fail when status is enabled
13 $ unset RHG_STATUS
14
15
12 16 ------ Test dirstate._dirs refcounting
13 17
14 18 $ hg init t
@@ -1,3 +1,7 b''
1 TODO: fix rhg bugs that make this test fail when status is enabled
2 $ unset RHG_STATUS
3
4
1 5 Test encode/decode filters
2 6
3 7 $ hg init
@@ -1,5 +1,9 b''
1 1 #require execbit
2 2
3 TODO: fix rhg bugs that make this test fail when status is enabled
4 $ unset RHG_STATUS
5
6
3 7 $ hg init
4 8 $ echo a > a
5 9 $ hg ci -Am'not executable'
@@ -9,6 +9,10 b''
9 9 > EOF
10 10 #endif
11 11
12 TODO: fix rhg bugs that make this test fail when status is enabled
13 $ unset RHG_STATUS
14
15
12 16 $ hg init ignorerepo
13 17 $ cd ignorerepo
14 18
@@ -1,3 +1,7 b''
1 TODO: fix rhg bugs that make this test fail when status is enabled
2 $ unset RHG_STATUS
3
4
1 5 $ hg init a
2 6 $ mkdir a/d1
3 7 $ mkdir a/d1/d2
@@ -2,6 +2,10 b''
2 2 Test non-regression on the corruption associated with issue6528
3 3 ===============================================================
4 4
5 TODO: fix rhg bugs that make this test fail when status is enabled
6 $ unset RHG_STATUS
7
8
5 9 Setup
6 10 =====
7 11
@@ -4,6 +4,9 b' Testing merge involving change to the ex'
4 4
5 5 #require execbit
6 6
7 TODO: fix rhg bugs that make this test fail when status is enabled
8 $ unset RHG_STATUS
9
7 10
8 11 Initial setup
9 12 ==============
@@ -1,5 +1,9 b''
1 1 #require symlink execbit
2 2
3 TODO: fix rhg bugs that make this test fail when status is enabled
4 $ unset RHG_STATUS
5
6
3 7 $ tellmeabout() {
4 8 > if [ -h $1 ]; then
5 9 > echo $1 is a symlink:
@@ -11,6 +11,10 b''
11 11 > EOF
12 12 #endif
13 13
14 TODO: fix rhg bugs that make this test fail when status is enabled
15 $ unset RHG_STATUS
16
17
14 18 $ hg init t
15 19 $ cd t
16 20
@@ -1,3 +1,7 b''
1 TODO: fix rhg bugs that make this test fail when status is enabled
2 $ unset RHG_STATUS
3
4
1 5 $ hg init t
2 6 $ cd t
3 7
@@ -1,3 +1,7 b''
1 TODO: fix rhg bugs that make this test fail when status is enabled
2 $ unset RHG_STATUS
3
4
1 5 $ cat <<EOF >> $HGRCPATH
2 6 > [ui]
3 7 > color = always
@@ -1,3 +1,7 b''
1 TODO: fix rhg bugs that make this test fail when status is enabled
2 $ unset RHG_STATUS
3
4
1 5 $ mkdir folder
2 6 $ cd folder
3 7 $ hg init
@@ -9,6 +9,10 b''
9 9 > EOF
10 10 #endif
11 11
12 TODO: fix rhg bugs that make this test fail when status is enabled
13 $ unset RHG_STATUS
14
15
12 16 $ hg init repo1
13 17 $ cd repo1
14 18 $ mkdir a b a/1 b/1 b/2
@@ -1,3 +1,7 b''
1 TODO: fix rhg bugs that make this test fail when status is enabled
2 $ unset RHG_STATUS
3
4
1 5 $ cat >> $HGRCPATH <<EOF
2 6 > [extdiff]
3 7 > # for portability:
@@ -1,3 +1,7 b''
1 TODO: fix rhg bugs that make this test fail when status is enabled
2 $ unset RHG_STATUS
3
4
1 5 $ hg init repo
2 6 $ cd repo
3 7 $ hg init subrepo
@@ -11,6 +11,10 b''
11 11 > EOF
12 12 #endif
13 13
14 TODO: fix rhg bugs that make this test fail when status is enabled
15 $ unset RHG_STATUS
16
17
14 18 == tests added in 0.7 ==
15 19
16 20 $ hg init test-symlinks-0.7; cd test-symlinks-0.7;
General Comments 0
You need to be logged in to leave comments. Login now