tests/test-audit-path
changeset 5158 d316124ebbea
child 7554 11a4eb81fb4f
equal deleted inserted replaced
5157:f6c520fd70cf 5158:d316124ebbea
       
     1 #!/bin/sh
       
     2 
       
     3 hg init
       
     4 
       
     5 echo % should fail
       
     6 hg add .hg/00changelog.i
       
     7 
       
     8 mkdir a
       
     9 echo a > a/a
       
    10 hg ci -Ama
       
    11 ln -s a b
       
    12 echo b > a/b
       
    13 
       
    14 echo % should fail
       
    15 hg add b/b
       
    16 
       
    17 echo % should succeed
       
    18 hg add b
       
    19 
       
    20 echo % should still fail - maybe
       
    21 hg add b/b
       
    22 
       
    23 exit 0