tests/test-flags
changeset 412 40cfa2d0c088
child 414 291a62848f54
equal deleted inserted replaced
411:9e9f7ab43ce2 412:40cfa2d0c088
       
     1 #!/bin/sh +ex
       
     2 
       
     3 mkdir test1
       
     4 cd test1
       
     5 
       
     6 hg init
       
     7 touch a b
       
     8 hg add a b
       
     9 hg ci -t "added a b" -u test -d "0 0"
       
    10 
       
    11 cd ..
       
    12 mkdir test2
       
    13 cd test2
       
    14 
       
    15 hg init
       
    16 hg merge ../test1
       
    17 hg co
       
    18 chmod +x a
       
    19 hg ci -t "chmod +x a" -u test -d "0 0"
       
    20 
       
    21 cd ../test1
       
    22 echo 123 >>a
       
    23 hg ci -t "a updated" -u test -d "0 0"
       
    24 
       
    25 ls -l ../test[12]/a
       
    26 
       
    27 hg merge ../test2
       
    28 hg heads
       
    29 hg history
       
    30 
       
    31 hg -dv co -m
       
    32 
       
    33 ls -l ../test[12]/a > foo
       
    34 cut -b 0-10 < foo
       
    35