##// 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 b"rhg",
114 b"rhg",
115 b"fallback-executable",
115 b"fallback-executable",
116 );
116 );
117 config.add_for_environment_variable("RHG_STATUS", b"rhg", b"status");
117
118
118 // HGRCPATH replaces user config
119 // HGRCPATH replaces user config
119 if opt_rc_path.is_none() {
120 if opt_rc_path.is_none() {
@@ -3228,6 +3228,7 b' class TestRunner(object):'
3228 # output.
3228 # output.
3229 osenvironb[b'RHG_ON_UNSUPPORTED'] = b'fallback'
3229 osenvironb[b'RHG_ON_UNSUPPORTED'] = b'fallback'
3230 osenvironb[b'RHG_FALLBACK_EXECUTABLE'] = real_hg
3230 osenvironb[b'RHG_FALLBACK_EXECUTABLE'] = real_hg
3231 osenvironb[b'RHG_STATUS'] = b'1'
3231 else:
3232 else:
3232 # drop flag for hghave
3233 # drop flag for hghave
3233 osenvironb.pop(b'RHG_INSTALLED_AS_HG', None)
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 Create a repository:
5 Create a repository:
2
6
3 #if no-extraextensions
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 $ hg init
5 $ hg init
2 $ cat << EOF > a
6 $ cat << EOF > a
3 > Small Mathematical Series.
7 > Small Mathematical Series.
@@ -9,6 +9,10 b''
9 > EOF
9 > EOF
10 #endif
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 ------ Test dirstate._dirs refcounting
16 ------ Test dirstate._dirs refcounting
13
17
14 $ hg init t
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 Test encode/decode filters
5 Test encode/decode filters
2
6
3 $ hg init
7 $ hg init
@@ -1,5 +1,9 b''
1 #require execbit
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 $ hg init
7 $ hg init
4 $ echo a > a
8 $ echo a > a
5 $ hg ci -Am'not executable'
9 $ hg ci -Am'not executable'
@@ -9,6 +9,10 b''
9 > EOF
9 > EOF
10 #endif
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 $ hg init ignorerepo
16 $ hg init ignorerepo
13 $ cd ignorerepo
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 $ hg init a
5 $ hg init a
2 $ mkdir a/d1
6 $ mkdir a/d1
3 $ mkdir a/d1/d2
7 $ mkdir a/d1/d2
@@ -2,6 +2,10 b''
2 Test non-regression on the corruption associated with issue6528
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 Setup
9 Setup
6 =====
10 =====
7
11
@@ -4,6 +4,9 b' Testing merge involving change to the ex'
4
4
5 #require execbit
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 Initial setup
11 Initial setup
9 ==============
12 ==============
@@ -1,5 +1,9 b''
1 #require symlink execbit
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 $ tellmeabout() {
7 $ tellmeabout() {
4 > if [ -h $1 ]; then
8 > if [ -h $1 ]; then
5 > echo $1 is a symlink:
9 > echo $1 is a symlink:
@@ -11,6 +11,10 b''
11 > EOF
11 > EOF
12 #endif
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 $ hg init t
18 $ hg init t
15 $ cd t
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 $ hg init t
5 $ hg init t
2 $ cd t
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 $ cat <<EOF >> $HGRCPATH
5 $ cat <<EOF >> $HGRCPATH
2 > [ui]
6 > [ui]
3 > color = always
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 $ mkdir folder
5 $ mkdir folder
2 $ cd folder
6 $ cd folder
3 $ hg init
7 $ hg init
@@ -9,6 +9,10 b''
9 > EOF
9 > EOF
10 #endif
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 $ hg init repo1
16 $ hg init repo1
13 $ cd repo1
17 $ cd repo1
14 $ mkdir a b a/1 b/1 b/2
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 $ cat >> $HGRCPATH <<EOF
5 $ cat >> $HGRCPATH <<EOF
2 > [extdiff]
6 > [extdiff]
3 > # for portability:
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 $ hg init repo
5 $ hg init repo
2 $ cd repo
6 $ cd repo
3 $ hg init subrepo
7 $ hg init subrepo
@@ -11,6 +11,10 b''
11 > EOF
11 > EOF
12 #endif
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 == 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;
General Comments 0
You need to be logged in to leave comments. Login now