tests/test-add.t
changeset 16875 ee9bd7ef0a0e
parent 15524 e7119b091809
child 16913 f2719b387380
equal deleted inserted replaced
16874:8017ac7a0e8f 16875:ee9bd7ef0a0e
     1   $ "$TESTDIR/hghave" no-windows || exit 80
       
     2 
       
     3   $ hg init a
     1   $ hg init a
     4   $ cd a
     2   $ cd a
     5   $ echo a > a
     3   $ echo a > a
     6   $ hg add -n
     4   $ hg add -n
     7   adding a
     5   adding a
    33   b already tracked!
    31   b already tracked!
    34   $ hg st
    32   $ hg st
    35   A a
    33   A a
    36   A b
    34   A b
    37 
    35 
       
    36 #if no-windows
    38   $ echo foo > con.xml
    37   $ echo foo > con.xml
    39   $ hg --config ui.portablefilenames=jump add con.xml
    38   $ hg --config ui.portablefilenames=jump add con.xml
    40   abort: ui.portablefilenames value is invalid ('jump')
    39   abort: ui.portablefilenames value is invalid ('jump')
    41   [255]
    40   [255]
    42   $ hg --config ui.portablefilenames=abort add con.xml
    41   $ hg --config ui.portablefilenames=abort add con.xml
    67   $ hg st
    66   $ hg st
    68   A a
    67   A a
    69   A b
    68   A b
    70   A con.xml
    69   A con.xml
    71   A hello:world
    70   A hello:world
       
    71 #endif
    72 
    72 
    73   $ hg ci -m 0 --traceback
    73   $ hg ci -m 0 --traceback
    74 
    74 
    75 should fail
    75 should fail
    76 
    76