Connie O'Dell - DV, EDA, jobseeking, life,whatever
Monday, April 22, 2013
SVN - merge one branch into another? - thanks to Stack Overflow
SVN - merge one branch into another?
I'd like to merge all the changes that took place between rev 10 & the HEAD rev on
and apply them to
svn merge -r 10:HEAD http://url-of-branch-a
Is this possible? If so, what is the syntax?
I am running the SVN client from the unix command line. The SVN client version is 1.4
EDIT: Yes, my specific solution was...
change directory to the location of my working copy that wants to receive the changes (branch-b)
svn merge -r 10:HEAD
This merges the changes from 'branch-a' into 'branch-b'
Aug 12 '09 at 14:26
Aug 12 '09 at 14:00
Up voted as this is a common need, has a good answer from Billy3, and is poorly documented in other places on the web.
Apr 12 '11 at 11:40
You also need to know when the branch was taken. You can do this (svn log --stop-on-copy .) in your branch to get the revision number you branched from.
Jun 15 '12 at 12:05
SVN - merge one branch into another? - Stack Overflow
'via Blog this'
Share to Twitter
Share to Facebook
Share to Pinterest
Post a Comment
Post Comments (Atom)