Login | Register
My pages Projects Community openCollabNet

Discussions > users [DISABLED] > Re: Cherrypicking Non-Sequential Revisions

subversion
Discussion topic

Back to topic list

Re: Cherrypicking Non-Sequential Revisions

Author Mike Meyer <mmeyer at lexmark dot com>
Full name Mike Meyer <mmeyer at lexmark dot com>
Date 2009-04-22 13:14:19 PDT
Message marc gonzalez-carnicer <carnicer.lists@g​mail.com> wrote on 04/22/2009
03:50:20 PM:

> hi,
>
> this was discussed long time ago, i've been looking for an answer
> before posting.
>
> i need to do multiple non-sequential revisions merge (cherrypicking),
> from a "new feature" branch to the trunk. the "new feature" branch has
> been updated with revisions from the trunk several times.
>
> when the "new feature" has been finished and tested it's time to bring
> over. for that, i need to perform the above mentioned cherrypicking,
> which consists on a merge of multiple non-sequential revisions.

In my opinion (<- note that - this is my opinion of best practice, others
will certainly disagree) you're doing the last merge wrong. Instead of
trying to cherry pick the changes you want from the feature branch, you
should make sure that *all* the changes in the trunk have been merged to
the feature branch, then copy the feature branch onto the trunk. The idea
is that all the disruption from the new feature, including the work of
integrating it into the trunk, happens on the feature branch. The final
copy to the trunk - which is the only time the trunk will be affected -
should be painless: check out a pristine copy of the trunk, merge the
differences between the trunk and the feature branch into that working
copy - which should have no conflicts since you started with the trunk,
and leave the WC as a copy of the feature branch - then commit that.

This works pretty painlessly in all version of svn back to 1.1, and even
in CVS.

        <mike
Attachments

« Previous message in topic | 8 of 13 | Next message in topic »

Messages

Show all messages in topic

Cherrypicking Non-Sequential Revisions Daniel Becroft <Daniel dot Becroft at supercorp dot com dot au> Daniel Becroft <Daniel dot Becroft at supercorp dot com dot au> 2008-09-01 23:02:28 PDT
     Re: Cherrypicking Non-Sequential Revisions blair Blair Zajac 2008-09-02 10:40:12 PDT
     Re: Cherrypicking Non-Sequential Revisions Mark Phippard <markphip at gmail dot com> Mark Phippard <markphip at gmail dot com> 2008-09-02 13:40:50 PDT
         RE: Cherrypicking Non-Sequential Revisions Daniel Becroft <Daniel dot Becroft at supercorp dot com dot au> Daniel Becroft <Daniel dot Becroft at supercorp dot com dot au> 2008-09-02 16:47:57 PDT
             Re: Cherrypicking Non-Sequential Revisions marc gonzalez-carnicer <carnicer dot lists at gmail dot com> marc gonzalez-carnicer <carnicer dot lists at gmail dot com> 2009-04-22 12:50:24 PDT
                 Re: Cherrypicking Non-Sequential Revisions markphip Mark Phippard 2009-04-22 13:07:34 PDT
                     Re: Cherrypicking Non-Sequential Revisions marc gonzalez-carnicer <carnicer dot lists at gmail dot com> marc gonzalez-carnicer <carnicer dot lists at gmail dot com> 2009-04-24 05:17:07 PDT
                 Re: Cherrypicking Non-Sequential Revisions Mike Meyer <mmeyer at lexmark dot com> Mike Meyer <mmeyer at lexmark dot com> 2009-04-22 13:14:19 PDT
                     Re: Cherrypicking Non-Sequential Revisions marc gonzalez-carnicer <carnicer dot lists at gmail dot com> marc gonzalez-carnicer <carnicer dot lists at gmail dot com> 2009-04-24 04:57:59 PDT
                         Re: Cherrypicking Non-Sequential Revisions Mike Meyer <mmeyer at lexmark dot com> Mike Meyer <mmeyer at lexmark dot com> 2009-04-24 06:57:04 PDT
                             Re: Cherrypicking Non-Sequential Revisions marc gonzalez-carnicer <carnicer dot lists at gmail dot com> marc gonzalez-carnicer <carnicer dot lists at gmail dot com> 2009-04-25 02:05:57 PDT
                                 Re: Cherrypicking Non-Sequential Revisions Mike Meyer <mmeyer at lexmark dot com> Mike Meyer <mmeyer at lexmark dot com> 2009-04-27 07:41:29 PDT
                                     Re: Cherrypicking Non-Sequential Revisions marc gonzalez-carnicer <carnicer dot lists at gmail dot com> marc gonzalez-carnicer <carnicer dot lists at gmail dot com> 2009-04-27 23:31:52 PDT
Messages per page: