Just asking a simple question.
What is the best way to merge two Subversion branches together?
I wish to merge branch name 3661 into branch name 2011-01-17
3661 has a revision code of 16658
2011-01-17 has a revision code of 16613
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is how I do (I use command line)
(1) Get the revision of
3661when the branch was created like thisTake the smallest revision from the output. Let’s say it’s 911
(2) Checkout the latest of branch
2011-01-17, and run this in the main directory. This will show all the conflicts and updates but won’t do anything.(3) If you are OK with the changes do a actual merge
Nothing is committed on server yet. It’s just you local copy is merged. You may want to fix all the conflicted file now.
(4) If you want to persist the merge on server commit the changed files by doing this
Hopefully this helps. You may want to see this chapter of red book http://svnbook.red-bean.com/en/1.0/ch04s04.html
Also, you need command line SVN client. You can download it from Subversion’s website