You must first sign up to be able to contribute.

Version 4 (modified by jgchristopher, 12 years ago)
fix typo

How To merge trunk changes to branch

cd to branch working directory

 cd /path/to/workingcopyofbranch

find the revision the branch was created if this is the first merge

 svn log --stop-on-copy

find the revision of the last merge if this is not the first merge

 svn log --stop-on-copy | grep -B3 merge

with revision number from previous step, and the latest trunk revision number, merge changes to your branch

 svn merge -r<previous_step_number>:<latest_trunk_revision> .

fix conflicts if any

check in updates from trunk to your branch. record revision number of merge to assist when it needs to be done again.

 svn commit -m 'user: merge trunk changes to my branch revs <previous_step_number>:<latest_trunk_revision>'