tests/test-dispatch.t
changeset 35205 8feef8ef8389
parent 35170 c9740b69b9b7
child 35223 4edd2202f7d7
equal deleted inserted replaced
35204:d4b108fdf423 35205:8feef8ef8389
    81   [255]
    81   [255]
    82 
    82 
    83   $ mkdir -p badrepo/.hg
    83   $ mkdir -p badrepo/.hg
    84   $ echo 'invalid-syntax' > badrepo/.hg/hgrc
    84   $ echo 'invalid-syntax' > badrepo/.hg/hgrc
    85   $ hg log -b -Rbadrepo default
    85   $ hg log -b -Rbadrepo default
    86   hg: parse error at badrepo/.hg/hgrc:1: invalid-syntax
    86   hg: parse error at badrepo/.hg/hgrc:1: invalid-syntax (glob)
    87   [255]
    87   [255]
    88 
    88 
    89   $ hg log -b --cwd=inexistent default
    89   $ hg log -b --cwd=inexistent default
    90   abort: No such file or directory: 'inexistent'
    90   abort: No such file or directory: 'inexistent' (no-windows !)
       
    91   abort: The system cannot find the file specified: 'inexistent' (windows !)
    91   [255]
    92   [255]
    92 
    93 
    93   $ hg log -b '--config=ui.traceback=yes' 2>&1 | grep '^Traceback'
    94   $ hg log -b '--config=ui.traceback=yes' 2>&1 | grep '^Traceback'
    94   Traceback (most recent call last):
    95   Traceback (most recent call last):
    95   $ hg log -b '--config=profiling.enabled=yes' 2>&1 | grep -i sample
    96   $ hg log -b '--config=profiling.enabled=yes' 2>&1 | grep -i sample