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

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

From: Eric Dramstad <edrams_at_gmail.com>
Date: Tue, 15 Mar 2016 13:13:37 -0400

Is it safe/correct to do a combination of a 'complete' merge and a
'cherry-pick' merge to reintegrate a feature branch?

I've only ever done a 'complete' merge of a feature branch. For this
project, several of the changesets from the branch contain a mix of
things I want to merge into the trunk and things I want to leave on
the branch. For example, the version identifier that gets inserted
into compiled software was modified after branching so that builds
would identify themselves as special.

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'

Thanks,
Eric Dramstad
Received on 2016-03-15 18:14:25 CET

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.