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