info-cvs
[Top][All Lists]
Advanced

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

Re: How safely "move" files from one branch to the other?


From: marko
Subject: Re: How safely "move" files from one branch to the other?
Date: Mon, 21 Jun 2004 10:41:09 +0200 (CEST)

Hi Tyler,

On Fri, 18 Jun 2004, Tyler wrote:

> > How do I safely "move" the files from branch A to branch B?
>
> For a small change like this, it's easiest to:
>
> - back out the changes from branch A
>
> (in A sandbox)
> cvs up -j[new rev] -j[previous rev] [list of files]
> (verify changes and commit)
>
> - merge changes into branch B
>
> (in B sandbox)
> cvs up -j[previous rev] -j[new rev] [list of files]
> (verify changes and commit)

Well, ok, that's a possibility, of course, but it has the drawback that
you have all changes which are caused by the simple swapping of branch
names reflected in the repository files in a very inefficient manner.

I understand that this is the standard way of doing changes like this,
though I hoped that there might be another way to force a modification of
the branch tag names instead...

Regards,
Marko




reply via email to

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