Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-symlinks @ 1487:2bc6cd62a29c
fix handling of files of unsupported type in the walk code
if a file was of unsupported type, it was considered as 'seen' while
walking. this way it was possible to have file in the dirstate not
yielded by the walk function.
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Wed, 02 Nov 2005 15:46:31 -0800 |
parents | 5010207c3527 |
children | c13fce7167c2 |
comparison
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 |