diff tests/test-convert-svn-sink @ 12343:28642f7fc2cf stable

convert/svn: fix broken symlink renames in svn sink
author Patrick Mezard <pmezard@gmail.com>
date Mon, 20 Sep 2010 21:46:39 +0200
parents 14db59e3b248
children
line wrap: on
line diff
--- a/tests/test-convert-svn-sink	Mon Sep 20 21:46:39 2010 +0200
+++ b/tests/test-convert-svn-sink	Mon Sep 20 21:46:39 2010 +0200
@@ -29,6 +29,7 @@
 echo a > a/a
 mkdir -p a/d1/d2
 echo b > a/d1/d2/b
+ln -s a/missing a/link
 echo % add
 hg --cwd a ci -d '0 0' -A -m 'add a file'
 
@@ -43,6 +44,7 @@
 cmp a/a a-hg-wc/a && echo same || echo different
 
 hg --cwd a mv a b
+hg --cwd a mv link newlink
 echo % rename
 hg --cwd a ci -d '2 0' -m 'rename a file'
 hg --cwd a tip -q