Mercurial > hg
comparison tests/test-symlink-basic @ 6258:c24f4b3f156b
Fix issue995 (copy --after and symlinks pointing to a directory)
I haven't looked at other places that call os.path.isdir to make
sure they're OK.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Fri, 14 Mar 2008 10:32:19 -0300 |
parents | 5ffa962783c4 |
children |
comparison
equal
deleted
inserted
replaced
6257:bfd49ce0db64 | 6258:c24f4b3f156b |
---|---|
36 hg up -C | 36 hg up -C |
37 echo '% copies' | 37 echo '% copies' |
38 hg cp -v dangling dangling2 | 38 hg cp -v dangling dangling2 |
39 hg st -Cmard | 39 hg st -Cmard |
40 $TESTDIR/readlink.py dangling dangling2 | 40 $TESTDIR/readlink.py dangling dangling2 |
41 | |
42 echo '% issue995' | |
43 hg up -C | |
44 mkdir dir | |
45 ln -s dir dirlink | |
46 hg ci -qAm 'add dirlink' | |
47 mkdir newdir | |
48 mv dir newdir/dir | |
49 mv dirlink newdir/dirlink | |
50 hg mv -A dirlink newdir/dirlink |