tests/test-symlinks
changeset 1487 2bc6cd62a29c
parent 1408 5010207c3527
child 1527 c13fce7167c2
equal deleted inserted replaced
1486:d7809d6e9db2 1487:2bc6cd62a29c
    20 #again, symlink should _not_ show up on dir state
    20 #again, symlink should _not_ show up on dir state
    21 hg addremove
    21 hg addremove
    22 
    22 
    23 #Assert screamed here before, should go by without consequence
    23 #Assert screamed here before, should go by without consequence
    24 hg commit -m 'is there a bug?'
    24 hg commit -m 'is there a bug?'
       
    25 
       
    26 cd .. ; rm -rf test
       
    27 hg init test; cd test;
       
    28 
       
    29 mkdir dir
       
    30 touch a.c dir/a.o dir/b.o
       
    31 # test what happens if we want to trick hg
       
    32 hg commit -A -m 0
       
    33 echo "relglob:*.o" > .hgignore
       
    34 rm a.c
       
    35 rm dir/a.o
       
    36 rm dir/b.o
       
    37 mkdir dir/a.o
       
    38 ln -sf nonexist dir/b.o
       
    39 mkfifo a.c
       
    40 # it should show a.c, dir/a.o and dir/b.o removed
       
    41 hg status