Mercurial > hgsubversion
comparison tests/fixtures/unrelatedbranch.sh @ 117:3afe404042a3
Add a disabled test for unrelated branches
The fix is not obvious but preserving the test helps fixing other stuff.
| author | Patrick Mezard <pmezard@gmail.com> |
|---|---|
| date | Sat, 29 Nov 2008 11:25:01 -0600 |
| parents | |
| children | a0401f6e14dd |
comparison
equal
deleted
inserted
replaced
| 116:30580c05dccc | 117:3afe404042a3 |
|---|---|
| 1 #!/bin/sh | |
| 2 # | |
| 3 # Generate unrelatedbranch.svndump | |
| 4 # | |
| 5 | |
| 6 mkdir temp | |
| 7 cd temp | |
| 8 | |
| 9 mkdir project-orig | |
| 10 cd project-orig | |
| 11 mkdir trunk | |
| 12 mkdir branches | |
| 13 cd .. | |
| 14 | |
| 15 svnadmin create testrepo | |
| 16 svnurl=file://`pwd`/testrepo | |
| 17 svn import project-orig $svnurl -m "init project" | |
| 18 | |
| 19 svn co $svnurl project | |
| 20 cd project/trunk | |
| 21 echo a > a | |
| 22 svn add a | |
| 23 svn ci -m "add a in trunk" | |
| 24 cd ../branches | |
| 25 # Create an unrelated branch with another file. It used to lead the converter | |
| 26 # to think branch1 was a copy of trunk, even without copy information. | |
| 27 mkdir branch1 | |
| 28 echo b > branch1/b | |
| 29 svn add branch1 | |
| 30 svn ci -m "add b in branch1" | |
| 31 # Make a real branch too for comparison | |
| 32 svn cp ../trunk branch2 | |
| 33 echo b > branch2/b | |
| 34 svn add branch2/b | |
| 35 svn ci -m "add b to branch2" | |
| 36 cd ../.. | |
| 37 | |
| 38 svnadmin dump testrepo > ../unrelatedbranch.svndump |
