These cases are in features not yet implemented by rhg
for which triggering a fallback is not practical.
Disabling some tests allows us to reach passing CI and catch
any future regression in the rest of the tests.
( )
| marmoute |
| hg-reviewers |
These cases are in features not yet implemented by rhg
for which triggering a fallback is not practical.
Disabling some tests allows us to reach passing CI and catch
any future regression in the rest of the tests.
| Automatic diff as part of commit; lint not applicable. |
| Automatic diff as part of commit; unit tests not applicable. |
| Path | Packages | |||
|---|---|---|---|---|
| M | tests/test-config.t (3 lines) | |||
| M | tests/test-debugcommands.t (8 lines) | |||
| M | tests/test-dispatch.t (3 lines) | |||
| M | tests/test-globalopts.t (6 lines) |
| Status | Author | Revision | |
|---|---|---|---|
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | D10134 rhg: Add support for --cwd | |
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin | ||
| Closed | SimonSapin |
| hide outer repo | hide outer repo | ||||
| $ hg init | $ hg init | ||||
| Invalid syntax: no value | Invalid syntax: no value | ||||
| TODO: add rhg support for detailed exit codes | |||||
| #if no-rhg | |||||
| $ cat > .hg/hgrc << EOF | $ cat > .hg/hgrc << EOF | ||||
| > novaluekey | > novaluekey | ||||
| > EOF | > EOF | ||||
| $ hg showconfig | $ hg showconfig | ||||
| config error at $TESTTMP/.hg/hgrc:1: novaluekey | config error at $TESTTMP/.hg/hgrc:1: novaluekey | ||||
| [30] | [30] | ||||
| Invalid syntax: no key | Invalid syntax: no key | ||||
| $ cat > .hg/hgrc << EOF | $ cat > .hg/hgrc << EOF | ||||
| > [section] | > [section] | ||||
| > key=value | > key=value | ||||
| > EOF | > EOF | ||||
| $ hg showconfig | $ hg showconfig | ||||
| config error at $TESTTMP/.hg/hgrc:1: unexpected leading whitespace: [section] | config error at $TESTTMP/.hg/hgrc:1: unexpected leading whitespace: [section] | ||||
| [30] | [30] | ||||
| #endif | |||||
| Reset hgrc | Reset hgrc | ||||
| $ echo > .hg/hgrc | $ echo > .hg/hgrc | ||||
| Test case sensitive configuration | Test case sensitive configuration | ||||
| $ cat <<EOF >> $HGRCPATH | $ cat <<EOF >> $HGRCPATH | ||||
| lock: free | lock: free | ||||
| wlock: free | wlock: free | ||||
| $ touch .hg/unlock | $ touch .hg/unlock | ||||
| $ wait | $ wait | ||||
| Test WdirUnsupported exception | Test WdirUnsupported exception | ||||
| #if no-rhg | |||||
| $ hg debugdata -c ffffffffffffffffffffffffffffffffffffffff | $ hg debugdata -c ffffffffffffffffffffffffffffffffffffffff | ||||
| abort: working directory revision cannot be specified | abort: working directory revision cannot be specified | ||||
| [255] | [255] | ||||
| #else | |||||
| TODO: add rhg support for (at least parsing) the working directory pseudo-changeset | |||||
| $ hg debugdata -c ffffffffffffffffffffffffffffffffffffffff | |||||
| abort: working directory revision cannot be specified (missing-correct-output !) | |||||
| abort: invalid revision identifier: ffffffffffffffffffffffffffffffffffffffff (known-bad-output !) | |||||
| [255] | |||||
| #endif | |||||
| Test cache warming command | Test cache warming command | ||||
| $ rm -rf .hg/cache/ | $ rm -rf .hg/cache/ | ||||
| $ hg debugupdatecaches --debug | $ hg debugupdatecaches --debug | ||||
| updating the branch cache | updating the branch cache | ||||
| $ ls -r .hg/cache/* | $ ls -r .hg/cache/* | ||||
| .hg/cache/tags2-served | .hg/cache/tags2-served | ||||
| > EOF | > EOF | ||||
| $ hg log -b '--config=extensions.bad=bad.py' default | $ hg log -b '--config=extensions.bad=bad.py' default | ||||
| *** failed to import extension bad from bad.py: bad | *** failed to import extension bad from bad.py: bad | ||||
| abort: option --config may not be abbreviated | abort: option --config may not be abbreviated | ||||
| [10] | [10] | ||||
| $ mkdir -p badrepo/.hg | $ mkdir -p badrepo/.hg | ||||
| $ echo 'invalid-syntax' > badrepo/.hg/hgrc | $ echo 'invalid-syntax' > badrepo/.hg/hgrc | ||||
| TODO: add rhg support for detailed exit codes | |||||
| #if no-rhg | |||||
| $ hg log -b -Rbadrepo default | $ hg log -b -Rbadrepo default | ||||
| config error at badrepo/.hg/hgrc:1: invalid-syntax | config error at badrepo/.hg/hgrc:1: invalid-syntax | ||||
| [30] | [30] | ||||
| #endif | |||||
| $ hg log -b --cwd=inexistent default | $ hg log -b --cwd=inexistent default | ||||
| abort: $ENOENT$: 'inexistent' | abort: $ENOENT$: 'inexistent' | ||||
| [255] | [255] | ||||
| $ hg log -b '--config=ui.traceback=yes' 2>&1 | grep '^Traceback' | $ hg log -b '--config=ui.traceback=yes' 2>&1 | grep '^Traceback' | ||||
| Traceback (most recent call last): | Traceback (most recent call last): | ||||
| $ hg log -b '--config=profiling.enabled=yes' 2>&1 | grep -i sample | $ hg log -b '--config=profiling.enabled=yes' 2>&1 | grep -i sample | ||||
| $ hg -R file:a identify | $ hg -R file:a identify | ||||
| 8580ff50825a tip | 8580ff50825a tip | ||||
| $ hg -R file://localhost/`pwd`/a/ identify | $ hg -R file://localhost/`pwd`/a/ identify | ||||
| 8580ff50825a tip | 8580ff50825a tip | ||||
| -R with path aliases: | -R with path aliases: | ||||
| TODO: add rhg support for path aliases | |||||
| #if no-rhg | |||||
| $ cd c | $ cd c | ||||
| $ hg -R default identify | $ hg -R default identify | ||||
| 8580ff50825a tip | 8580ff50825a tip | ||||
| $ hg -R relative identify | $ hg -R relative identify | ||||
| 8580ff50825a tip | 8580ff50825a tip | ||||
| $ echo '[paths]' >> $HGRCPATH | $ echo '[paths]' >> $HGRCPATH | ||||
| $ echo 'relativetohome = a' >> $HGRCPATH | $ echo 'relativetohome = a' >> $HGRCPATH | ||||
| $ HOME=`pwd`/../ hg -R relativetohome identify | $ HOME=`pwd`/../ hg -R relativetohome identify | ||||
| 8580ff50825a tip | 8580ff50825a tip | ||||
| $ cd .. | $ cd .. | ||||
| #endif | |||||
| #if no-outer-repo | #if no-outer-repo | ||||
| Implicit -R: | Implicit -R: | ||||
| $ hg ann a/a | $ hg ann a/a | ||||
| 0: a | 0: a | ||||
| $ hg ann a/a a/a | $ hg ann a/a a/a | ||||
| b | b | ||||
| Testing --config: | Testing --config: | ||||
| $ hg --cwd c --config paths.quuxfoo=bar paths | grep quuxfoo > /dev/null && echo quuxfoo | $ hg --cwd c --config paths.quuxfoo=bar paths | grep quuxfoo > /dev/null && echo quuxfoo | ||||
| quuxfoo | quuxfoo | ||||
| TODO: add rhg support for detailed exit codes | |||||
| #if no-rhg | |||||
| $ hg --cwd c --config '' tip -q | $ hg --cwd c --config '' tip -q | ||||
| abort: malformed --config option: '' (use --config section.name=value) | abort: malformed --config option: '' (use --config section.name=value) | ||||
| [10] | [10] | ||||
| $ hg --cwd c --config a.b tip -q | $ hg --cwd c --config a.b tip -q | ||||
| abort: malformed --config option: 'a.b' (use --config section.name=value) | abort: malformed --config option: 'a.b' (use --config section.name=value) | ||||
| [10] | [10] | ||||
| $ hg --cwd c --config a tip -q | $ hg --cwd c --config a tip -q | ||||
| abort: malformed --config option: 'a' (use --config section.name=value) | abort: malformed --config option: 'a' (use --config section.name=value) | ||||
| [10] | [10] | ||||
| $ hg --cwd c --config a.= tip -q | $ hg --cwd c --config a.= tip -q | ||||
| abort: malformed --config option: 'a.=' (use --config section.name=value) | abort: malformed --config option: 'a.=' (use --config section.name=value) | ||||
| [10] | [10] | ||||
| $ hg --cwd c --config .b= tip -q | $ hg --cwd c --config .b= tip -q | ||||
| abort: malformed --config option: '.b=' (use --config section.name=value) | abort: malformed --config option: '.b=' (use --config section.name=value) | ||||
| [10] | [10] | ||||
| #endif | |||||
| Testing --debug: | Testing --debug: | ||||
| $ hg --cwd c log --debug | $ hg --cwd c log --debug | ||||
| changeset: 1:b6c483daf2907ce5825c0bb50f5716226281cc1a | changeset: 1:b6c483daf2907ce5825c0bb50f5716226281cc1a | ||||
| tag: tip | tag: tip | ||||
| phase: public | phase: public | ||||
| parent: -1:0000000000000000000000000000000000000000 | parent: -1:0000000000000000000000000000000000000000 | ||||