tests/test-nested-repo
changeset 12279 28e2e3804f2e
parent 12278 c4c2ba553401
child 12280 6ee719f56f01
equal deleted inserted replaced
12278:c4c2ba553401 12279:28e2e3804f2e
     1 #!/bin/sh
       
     2 
       
     3 hg init a
       
     4 cd a
       
     5 hg init b
       
     6 echo x > b/x
       
     7 
       
     8 echo '# should print nothing'
       
     9 hg add b
       
    10 hg st
       
    11 
       
    12 echo '# should fail'
       
    13 hg st b/x
       
    14 hg add b/x
       
    15 
       
    16 echo '# should fail'
       
    17 hg add b b/x
       
    18 hg st
       
    19 
       
    20 echo '# should arguably print nothing'
       
    21 hg st b
       
    22 
       
    23 echo a > a
       
    24 hg ci -Ama a
       
    25 
       
    26 echo '# should fail'
       
    27 hg mv a b
       
    28 hg st