Mercurial > hg
diff tests/test-convert-svn-move @ 11128:a9b427b5821e stable
convert/svn: handle files/links replaced by dirs (issue2166)
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 09 May 2010 19:11:02 +0200 |
parents | 55abde5cba43 |
children | 73a4ed3bfef8 |
line wrap: on
line diff
--- a/tests/test-convert-svn-move Sun May 09 19:11:02 2010 +0200 +++ b/tests/test-convert-svn-move Sun May 09 19:11:02 2010 +0200 @@ -33,3 +33,21 @@ echo '% check branches' hg branches | sed 's/:.*/:/' cd .. + +mkdir test-replace +cd test-replace +svnadmin create svn-repo +cat "$TESTDIR/svn/replace.svndump" | svnadmin load svn-repo > /dev/null + +echo '% convert files being replaced by directories' +hg convert svn-repo hg-repo +cd hg-repo +echo '% manifest before' +hg -v manifest -r 1 +echo '% manifest after clobber1' +hg -v manifest -r 2 +echo '% manifest after clobber2' +hg -v manifest -r 3 +echo '% try updating' +hg up -qC default +cd ..