1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
To merge from trunk to branch.
1. Find the branch point on the branch.
svn log --stop-on-copy .
This will stop at the branch point
2. Find out where trunk is at
svn update
3. Do the merge from trunk
svn merge -r 246:248 . ../branches/ehcache-1.2.4
4. Commit with a commit message that indicated the merge so you know it for next time
e.g. svn commit -m "Merge from trunk svn merge -r 246:248 . ../branches/ehcache-1.2.4"
To merge from branch to trunk
1. Find the branch point on the branch.
svn log --stop-on-copy .
This will stop at the branch point
2. Do the merge from trunk
svn merge --force -r 74:HEAD ../branches/ehcache-1.2.4
3. Commit with a commit message that indicated the merge so you know it for next time
e.g. svn commit -m "Merge from branch revision 74 to trunk"
|