tests/test-addremove.t
changeset 24180 d8e0c591781c
parent 23749 a387b0390082
child 33340 dd050fc04cc9
equal deleted inserted replaced
24179:14d647d25c70 24180:d8e0c591781c
    28   $ hg forget foo
    28   $ hg forget foo
    29   $ hg -v addremove
    29   $ hg -v addremove
    30   adding foo
    30   adding foo
    31   $ hg forget foo
    31   $ hg forget foo
    32 #if windows
    32 #if windows
    33   $ hg -v addremove nonexistant
    33   $ hg -v addremove nonexistent
    34   nonexistant: The system cannot find the file specified
    34   nonexistent: The system cannot find the file specified
    35   [1]
    35   [1]
    36 #else
    36 #else
    37   $ hg -v addremove nonexistant
    37   $ hg -v addremove nonexistent
    38   nonexistant: No such file or directory
    38   nonexistent: No such file or directory
    39   [1]
    39   [1]
    40 #endif
    40 #endif
    41   $ cd ..
    41   $ cd ..
    42 
    42 
    43   $ hg init subdir
    43   $ hg init subdir
    86   adding b
    86   adding b
    87   adding c
    87   adding c
    88 
    88 
    89   $ rm c
    89   $ rm c
    90 #if windows
    90 #if windows
    91   $ hg ci -A -m "c" nonexistant
    91   $ hg ci -A -m "c" nonexistent
    92   nonexistant: The system cannot find the file specified
    92   nonexistent: The system cannot find the file specified
    93   abort: failed to mark all new/missing files as added/removed
    93   abort: failed to mark all new/missing files as added/removed
    94   [255]
    94   [255]
    95 #else
    95 #else
    96   $ hg ci -A -m "c" nonexistant
    96   $ hg ci -A -m "c" nonexistent
    97   nonexistant: No such file or directory
    97   nonexistent: No such file or directory
    98   abort: failed to mark all new/missing files as added/removed
    98   abort: failed to mark all new/missing files as added/removed
    99   [255]
    99   [255]
   100 #endif
   100 #endif
   101   $ hg st
   101   $ hg st
   102   ! c
   102   ! c