[Top][All Lists]

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

Re: Question on multiple repositories

From: Rob Helmer
Subject: Re: Question on multiple repositories
Date: Wed, 3 Apr 2002 19:26:15 -0800
User-agent: Mutt/1.2.5i

Hi Max,

CVS stores metadata about the current repository in the sandbox;
notice that there are subdirs named "CVS/" in every CVS-controlled

You can't just change your CVSROOT, since revision numbers and other
important metadata will be incorrect, since the state of your sandbox
is stored on the client side.

You either need -

1) two seperate checkouts, and copy the files between these two checkouts.
2) branches ( see )

I recommend branches. Either way should work fine, but there's really
no good reason to have seperate repositories, it's alot more work that
you have to do ( which means more potential for human error :P ).


On Thu, Apr 04, 2002 at 01:23:18AM +0000, Max wrote:
>  I'm brand new at the CVS game and have no senior resource available at
> work, so I'm hoping that I can get some help here.
>  The specs I was handed at the office call for an open development
> repository and a secure QA/production repository.  Once developers finish
> their stuff, a baseline is made and the code is replicated to the QA
> repository.  This is the step where I'm having a problem.
>  I have the development repository up and running and made a QA repository,
> which at this time is empty.  I set my CVSROOT to point the development,
> check out based on a tag, then try get the code into the QA repository.
> First I set my CVSROOT to point to the QA repository, then use "commit" to
> move the code.  Alternatively, since there are no modules in the QA
> repository, I try to use "add".  Both fail because I still appear to be
> pointing to the development repository.
>  I'm hesitant to use "import" because (as I understand it) this command will
> club the previous versions under the same name (down the road).
>  So the question I have is how do I move source from one repository to the
> other?  Is there a way to save the baseline and the version numbers in the
> process.
>  Any help would be greatly appreciated.
>                     Max
> _______________________________________________
> Info-cvs mailing list
> address@hidden

reply via email to

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