Suppose the following structure on an svn server:
-svn-|
|-trunk --- |
| | - dirA
| | - dirB
|
|-branches -|
| - foo - |
| - dirA
At a revision X, the foo branch was created from the trunk. Some time later at revision Y, directory dirB was created in the trunk. Now, at revision Z, i want to integrate dirB (rev Z) into the foo branch.
I tried:
md dirB
svn add dirB
svn merge --dry-run --force ssh://server/svn/trunk/dirB dirB
and
svn merge -rY:Z--dry-run --force ssh://server/svn/trunk/dirB dirB
and also
cd dirB
svn merge --dry-run --force ssh://server/svn/trunk/dirB .
Everytime I get
Summary of conflicts:
Tree conflicts: 34
How to do this merge?
Make sure that you're in working copy dirA
cd branches/foo/dirA
Merge dirB
into foo/dirA
svn merge ssh://server/svn/trunk/dirB .
EDIT:
Branches are created using svn cp
:
svn cp ssh://server/svn/trunk/dirB ssh://server/svn/branches/foo/dirB -m"dirB branch created"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With