[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Converting a branch into the main trunk

From: Deever, Chris C.
Subject: RE: Converting a branch into the main trunk
Date: Tue, 7 Nov 2000 13:47:58 -0500

Yes, except in my case the two branch are two different release branches -
both are production quality code, but the development branch contains
additional features that are about to be rolled out wide scale.

I used (from to get a report of the changes and
applied the necessary changes from HEAD to branch using Araxis Merge so I'm
pretty confident the necessary changes have been applied.



Of course, you might be losing minor bug fixes on the stable branch.  I'm
Chuck.  I'd try the merge first.  CVS usually handles them pretty well.
Basically, if the same lines have been changed in a file on each branch,
the change will be flagged as a conflict.  Otherwise they will be merged
correctly by CVS.

Ocassionally with large changes (or even small ones but they're less common)
you might encounter compile or run time errors based on function names or
or variable names being changed on one branch while new references to the
name or API were added to the other, but those are usually easy to track and


Derek Price                      CVS Solutions Architect ( )
mailto:address@hidden     OpenAvenue ( )
Organ transplants are best left to professionals.
Organ transplants are best left to professionals.
Organ transplants are best left to professionals...

          - Bart Simpson on chalkboard, _The Simpsons_

Rudy Zung wrote:

> If you truly want a complete overwrite, update to the HEAD, then delete
> local files, then merge in the branch; this in effect makes CVS merge in
> the branch onto an empty local file, and everything that was the HEAD is
> overwritten by the branch being merged in.
> Of course, then commit.
> ...Ru
> -----Original Message-----
> From: Deever, Chris C. [mailto:address@hidden
> Sent: Tuesday, November 07, 2000 8:31 AM
> To: address@hidden
> Subject: Converting a branch into the main trunk
> When merging a development branch into the HEAD trunk, is it possible to
> somehow insure that code development branch always overwrites the main
> completely?
> Since CVS does a line by line diff comparison to determine what code to
> merge, I'm a bit hesitant to do the merge since the two versions of code
> very different at this point.  I'd like to know that the code in the
> development branch will always take precedence over code in the HEAD
> Maybe there is a way to simply rename the branches?
> Thanks,
> Chris

reply via email to

[Prev in Thread] Current Thread [Next in Thread]