tests/test-dispatch.t
changeset 17014 50fbe9063ff2
parent 15145 ff26712a0c50
child 18226 fe67db018bd7
equal deleted inserted replaced
17001:88f650208c32 17014:50fbe9063ff2
     1 test command parsing and dispatch
     1 test command parsing and dispatch
     2 
       
     3   $ "$TESTDIR/hghave" no-outer-repo || exit 80
       
     4 
       
     5   $ dir=`pwd`
       
     6 
     2 
     7   $ hg init a
     3   $ hg init a
     8   $ cd a
     4   $ cd a
     9 
     5 
    10 Redundant options used to crash (issue436):
     6 Redundant options used to crash (issue436):
    46   > EOF
    42   > EOF
    47   $ hg cat a
    43   $ hg cat a
    48   a: no such file in rev 000000000000
    44   a: no such file in rev 000000000000
    49   [1]
    45   [1]
    50 
    46 
       
    47   $ cd "$TESTTMP"
       
    48 
       
    49 #if no-outer-repo
       
    50 
    51 No repo:
    51 No repo:
    52 
    52 
    53   $ cd $dir
    53   $ cd $dir
    54   $ hg cat
    54   $ hg cat
    55   abort: no repository found in '$TESTTMP' (.hg not found)!
    55   abort: no repository found in '$TESTTMP' (.hg not found)!
    56   [255]
    56   [255]
    57 
    57 
       
    58 #endif