[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Can I combine 'complete' and 'cherry-pick' merges?

From: Stefan Hett <stefan_at_egosoft.com>
Date: Thu, 31 Mar 2016 11:19:03 +0200

Hi Eric,
> Eric Dramstad <edrams <at> gmail.com> writes:
>> I'm thinking of doing this (while standing inside a trunk workarea):
>>
>> svn merge ^/feature
>> svn merge -c -100 ./file.c
>> svn merge -c -101 ./file.h
>> svn commit -m 'reintegrated feature'
> That should have been:
>
> svn merge ^/feature
> svn merge -c -100 ^/feature/file.c ./file.c
> svn merge -c -101 ^/feature/file.h ./file.h
> svn commit -m 'reintegrated feature'
>
> I also should have mentioned that I'm using subversion 1.9.3.
Yes, this should be fine. We are using that approach quite regularly
here (though in our case the other way around --- aka: cherry picking
selective changes first and in the end do a complete merge of the rest).

-- 
Regards,
Stefan Hett
Received on 2016-03-31 11:19:16 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.