tests/test-dispatch.t
changeset 48408 e4acdf5d94a2
parent 46820 821929d59e01
child 48416 8c4881c07f57
equal deleted inserted replaced
48407:e4e2ce328599 48408:e4acdf5d94a2
    82 
    82 
    83   $ cat <<EOF > bad.py
    83   $ cat <<EOF > bad.py
    84   > raise Exception('bad')
    84   > raise Exception('bad')
    85   > EOF
    85   > EOF
    86   $ hg log -b '--config=extensions.bad=bad.py' default
    86   $ hg log -b '--config=extensions.bad=bad.py' default
    87   *** failed to import extension bad from bad.py: bad
    87   *** failed to import extension "bad" from bad.py: bad
    88   abort: option --config may not be abbreviated
    88   abort: option --config may not be abbreviated
    89   [10]
    89   [10]
    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