Show More
@@ -3,6 +3,8 b' hide outer repo' | |||||
3 |
|
3 | |||
4 | Invalid syntax: no value |
|
4 | Invalid syntax: no value | |
5 |
|
5 | |||
|
6 | TODO: add rhg support for detailed exit codes | |||
|
7 | #if no-rhg | |||
6 | $ cat > .hg/hgrc << EOF |
|
8 | $ cat > .hg/hgrc << EOF | |
7 | > novaluekey |
|
9 | > novaluekey | |
8 | > EOF |
|
10 | > EOF | |
@@ -35,6 +37,7 b' Test hint about invalid syntax from lead' | |||||
35 | $ hg showconfig |
|
37 | $ hg showconfig | |
36 | config error at $TESTTMP/.hg/hgrc:1: unexpected leading whitespace: [section] |
|
38 | config error at $TESTTMP/.hg/hgrc:1: unexpected leading whitespace: [section] | |
37 | [30] |
|
39 | [30] | |
|
40 | #endif | |||
38 |
|
41 | |||
39 | Reset hgrc |
|
42 | Reset hgrc | |
40 |
|
43 |
@@ -531,9 +531,17 b' amount of time, displays error message a' | |||||
531 |
|
531 | |||
532 | Test WdirUnsupported exception |
|
532 | Test WdirUnsupported exception | |
533 |
|
533 | |||
|
534 | #if no-rhg | |||
534 | $ hg debugdata -c ffffffffffffffffffffffffffffffffffffffff |
|
535 | $ hg debugdata -c ffffffffffffffffffffffffffffffffffffffff | |
535 | abort: working directory revision cannot be specified |
|
536 | abort: working directory revision cannot be specified | |
536 | [255] |
|
537 | [255] | |
|
538 | #else | |||
|
539 | TODO: add rhg support for (at least parsing) the working directory pseudo-changeset | |||
|
540 | $ hg debugdata -c ffffffffffffffffffffffffffffffffffffffff | |||
|
541 | abort: working directory revision cannot be specified (missing-correct-output !) | |||
|
542 | abort: invalid revision identifier: ffffffffffffffffffffffffffffffffffffffff (known-bad-output !) | |||
|
543 | [255] | |||
|
544 | #endif | |||
537 |
|
545 | |||
538 | Test cache warming command |
|
546 | Test cache warming command | |
539 |
|
547 |
@@ -90,9 +90,12 b" However, we can't prevent it from loadin" | |||||
90 |
|
90 | |||
91 | $ mkdir -p badrepo/.hg |
|
91 | $ mkdir -p badrepo/.hg | |
92 | $ echo 'invalid-syntax' > badrepo/.hg/hgrc |
|
92 | $ echo 'invalid-syntax' > badrepo/.hg/hgrc | |
|
93 | TODO: add rhg support for detailed exit codes | |||
|
94 | #if no-rhg | |||
93 | $ hg log -b -Rbadrepo default |
|
95 | $ hg log -b -Rbadrepo default | |
94 | config error at badrepo/.hg/hgrc:1: invalid-syntax |
|
96 | config error at badrepo/.hg/hgrc:1: invalid-syntax | |
95 | [30] |
|
97 | [30] | |
|
98 | #endif | |||
96 |
|
99 | |||
97 | $ hg log -b --cwd=inexistent default |
|
100 | $ hg log -b --cwd=inexistent default | |
98 | abort: $ENOENT$: 'inexistent' |
|
101 | abort: $ENOENT$: 'inexistent' |
@@ -65,6 +65,8 b' Testing -R/--repository:' | |||||
65 |
|
65 | |||
66 | -R with path aliases: |
|
66 | -R with path aliases: | |
67 |
|
67 | |||
|
68 | TODO: add rhg support for path aliases | |||
|
69 | #if no-rhg | |||
68 | $ cd c |
|
70 | $ cd c | |
69 | $ hg -R default identify |
|
71 | $ hg -R default identify | |
70 | 8580ff50825a tip |
|
72 | 8580ff50825a tip | |
@@ -75,6 +77,7 b' Testing -R/--repository:' | |||||
75 | $ HOME=`pwd`/../ hg -R relativetohome identify |
|
77 | $ HOME=`pwd`/../ hg -R relativetohome identify | |
76 | 8580ff50825a tip |
|
78 | 8580ff50825a tip | |
77 | $ cd .. |
|
79 | $ cd .. | |
|
80 | #endif | |||
78 |
|
81 | |||
79 | #if no-outer-repo |
|
82 | #if no-outer-repo | |
80 |
|
83 | |||
@@ -215,6 +218,8 b' Testing --config:' | |||||
215 |
|
218 | |||
216 | $ hg --cwd c --config paths.quuxfoo=bar paths | grep quuxfoo > /dev/null && echo quuxfoo |
|
219 | $ hg --cwd c --config paths.quuxfoo=bar paths | grep quuxfoo > /dev/null && echo quuxfoo | |
217 | quuxfoo |
|
220 | quuxfoo | |
|
221 | TODO: add rhg support for detailed exit codes | |||
|
222 | #if no-rhg | |||
218 | $ hg --cwd c --config '' tip -q |
|
223 | $ hg --cwd c --config '' tip -q | |
219 | abort: malformed --config option: '' (use --config section.name=value) |
|
224 | abort: malformed --config option: '' (use --config section.name=value) | |
220 | [10] |
|
225 | [10] | |
@@ -230,6 +235,7 b' Testing --config:' | |||||
230 | $ hg --cwd c --config .b= tip -q |
|
235 | $ hg --cwd c --config .b= tip -q | |
231 | abort: malformed --config option: '.b=' (use --config section.name=value) |
|
236 | abort: malformed --config option: '.b=' (use --config section.name=value) | |
232 | [10] |
|
237 | [10] | |
|
238 | #endif | |||
233 |
|
239 | |||
234 | Testing --debug: |
|
240 | Testing --debug: | |
235 |
|
241 |
General Comments 0
You need to be logged in to leave comments.
Login now