I'm trying to do an svn merge of a change from trunk onto a branch (2001). The change is in trunk on revision 614.
I've tried the following and none of them do what I want :
svn merge
svn merge -r 614:HEAD https://secreturl/trunk
But this seems to pick up a lot of changes I don't want.
When I ran: svn log -r 614 https://secreturl/trunk
- I saw the checkin comment for the small subset of changes I wanted to merge. What am I missing here?
svn merge -r 614:HEAD https://secreturl/trunk
will merge all changes between revision 614 and HEAD. Moreover, it will take 614 as the base revision (probably not what you want happenning :)
To merge changes from a specific revision, you can use one of two methods:
$ svn merge -c 614 https://secreturl/trunk
or $ svn merge -r 613:614 https://secreturl/trunk
.
The first means apply changes in revision 614 only, while the second form means take all changes required to go from r613 to r614 and apply them here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With