tests/test-issue322
changeset 2946 a7a9ba7a9f48
child 2949 7356fa3cff2c
equal deleted inserted replaced
2945:731f6b3d27c2 2946:a7a9ba7a9f48
       
     1 #!/bin/sh
       
     2 # http://www.selenic.com/mercurial/bts/issue322
       
     3 
       
     4 hg init a
       
     5 cd a       
       
     6 echo a > a 
       
     7 hg commit -Ama 
       
     8 rm a       
       
     9 mkdir a    
       
    10 echo a > a/a
       
    11 
       
    12 echo % should fail - will corrupt dirstate
       
    13 hg add a/a
       
    14 hg commit -mb
       
    15 
       
    16 echo % should fail - manifest is corrupt
       
    17 hg verify
       
    18 cd ..      
       
    19 
       
    20 hg --debug --traceback clone a b