I was working on the trunk recently and the changed I did I thought others might need them so I created a patch just before committing.
Now a fellow dev who was working on a branch (which comes from the trunk a couple of weeks back) needs those changes to go on a new server.
I'm trying to apply my patch with Tortoise SVN but it does'nt seam to like the disparities of my working copies. I have :
Am I trying to do something impossible ? Is there something I'm missing ?
Can I apply a trunk patch to a branch working copy ?
Thanks for the help!
Perquisite: Let's say you are currently working on the branch. To check that use svn info. The url should be pointing to your branch
Then you can merge the changes from trunk to your branch by using merge command
svn merge -r FROM_REVISION:REQUIRED_REVISION url/to/trunk .
or
svn merge -r 26:32 url/to/trunk .
This will bring all change sets from rev 26 to 32 of trunk into your branch.
Ah, there already is a discussion on how to do this with TortoiseSVN: Using TortoiseSVN how do I merge changes from the trunk to a branch and vice versa?
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