Mercurial > hg
changeset 12396:ea384dbca5b1 stable
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.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Fri, 24 Sep 2010 02:52:12 +0200 |
parents | cc6d40dffa45 |
children | 3b8ced3e3bbf |
files | tests/test-mq-symlinks |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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