[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: merging between trunks and branches
From: |
Sergei Organov |
Subject: |
Re: merging between trunks and branches |
Date: |
Mon, 07 Apr 2008 20:57:29 +0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Mark Smith <address@hidden> writes:
> Hi all
>
> I am having a problem with merging between trunks and
> branches.
>
> I am using start and end tags to mark features and bug
> fixes, for example:
>
> cvs tag SF1
> <edit files>
> cvs ci –m “Add feature 1”
> cvs tag EF1
> …
> cvs tag SB1
> <edit files>
> cvs ci –m “Bug fix 1”
> cvs tag EB1
>
> Suppose I have the following …
>
> On the main trunk:
> Feature 1 – tagged SF1/EF1
> Feature 3 – tagged SF3/EF3
> Feature 5 – tagged SF5/EF5
>
> On a release branch:
> Feature 2 – tagged SF2/EF2
> Bug fix 1 – tagged SB1/EB1
> Feature 4 – tagged SF4/EF4
>
> I want to merge feature 3 from the main trunk to the
> release branch,
$ cvs update -dP -r release-branch
$ cvs update -dP -j SF3 -j EF3
... resolve conflicts, etc....
$ cvs commit
> and then I want to merge bug fix 1
> from the release branch to the main trunk.
$ cvs update -dP -A
$ cvs update -dP -j SB1 -j EB1
... resolve conflicts, etc....
$ cvs commit
-- Sergei.