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

Reply via email to