I have two SVN branches checked out, “b1” and “b2”. I would like to merge all of my commits from the “b1” branch onto the “b2” branch. I have tried something like
svn merge -r HEAD:HEAD b1 b2
but it does nothing. I am sure I have this command wrong, but I can’t find good documentation on it. I would like to do this on the client side and not create a third branch.
I am using SVN 1.4.4 which doesn’t support the reintegrate option.
How can I do it?
Your problem is with the
-rflag. You have to specify a range of revisions. So for example:To figure out the correct revision number you can do:
logwill then only list commits which happened onb1. The smallest revision number you’ll see will be your pick.I’ve never used this form though. I always ensured that I was actively on branch
b2, and then did: