# HG changeset patch # User Mads Kiilerich # Date 1285289532 -7200 # Node ID ea384dbca5b14c04503b05452c7b67dcd4562435 # Parent cc6d40dffa45dcff9bdd400614cdec03829bf325 test-mq-symlinks: fix symlink handling on solaris It seems like ln -s gets confused if an existing symlink is dangling: $ rm -f a b; ln -s a b; ln -sf b b ln: cannot create b: File exists We now rely on rm instead of on ln -sf. diff -r cc6d40dffa45 -r ea384dbca5b1 tests/test-mq-symlinks --- a/tests/test-mq-symlinks Fri Sep 24 02:49:09 2010 +0200 +++ b/tests/test-mq-symlinks Fri Sep 24 02:52:12 2010 +0200 @@ -61,6 +61,7 @@ hg add linka hg qnew link hg mv linka linkb +rm linkb ln -sf linkb linkb hg qnew movelink hg qpop @@ -71,4 +72,4 @@ ln -s linkbb linkb hg qpush -true \ No newline at end of file +true