diff 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
line wrap: on
line diff
--- a/tests/test-symlink-basic	Fri Mar 14 09:56:58 2008 -0300
+++ b/tests/test-symlink-basic	Fri Mar 14 10:32:19 2008 -0300
@@ -38,3 +38,13 @@
 hg cp -v dangling dangling2
 hg st -Cmard
 $TESTDIR/readlink.py dangling dangling2
+
+echo '% issue995'
+hg up -C
+mkdir dir
+ln -s dir dirlink
+hg ci -qAm 'add dirlink'
+mkdir newdir
+mv dir newdir/dir
+mv dirlink newdir/dirlink
+hg mv -A dirlink newdir/dirlink