tests/test-legacy-exit-code.t
changeset 45906 95c4cca641f6
parent 45826 21733e8c924f
child 49621 55c6ebd11cb9
equal deleted inserted replaced
45905:e131dbf6ee15 45906:95c4cca641f6
    10   $ echo a > a
    10   $ echo a > a
    11 Expect exit code 0 on success
    11 Expect exit code 0 on success
    12   $ hg ci -Aqm initial
    12   $ hg ci -Aqm initial
    13 
    13 
    14   $ hg co nonexistent
    14   $ hg co nonexistent
    15   abort: unknown revision 'nonexistent'!
    15   abort: unknown revision 'nonexistent'
    16   [255]
    16   [255]
    17 
    17 
    18   $ hg co 'none()'
    18   $ hg co 'none()'
    19   abort: empty revision set
    19   abort: empty revision set
    20   [255]
    20   [255]