info-cvs
[Top][All Lists]
Advanced

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

Re: Newbie Problem: About repositiory


From: erik . cumps
Subject: Re: Newbie Problem: About repositiory
Date: Tue, 5 Nov 2002 17:03:03 +0100

Hello Mathew,

  re intermediate build files, I don't quite see why you'd have
to lose them. Just copy them over.

  To clarify, what I meant by step B is a raw copy of every file
in your old working dir to the new working dir. AFAICT the only
thing you have to worry about are files that you got rid of in the
old working directory and which show up in the new working
directory. Probably those files were deleted and 'cvs remove'd
but not yet committed. So that information will be lost, but
that's just a matter of 'cvs remove'ing them again.

  The basic idea of a new checkout and a raw copy is actually
a renewal of the CVS/Root files without bypassing cvs.

  That said, I agree that the other solution sounds better. Haven't
had the chance to test it though I guess you've taken care of that.

Erik





"Riechers, Matthew W" <address@hidden>
Sent by: address@hidden
11/05/2002 03:25 PM

 
        To:     address@hidden
        cc:     Mike Ayers <address@hidden>, CVS <address@hidden>, i Xicheng 
Jia <address@hidden>
        Subject:        Re: Newbie Problem: About repositiory


address@hidden wrote:
> 
>   A. checkout new working dir using new repository location
>   B. transfer content of old working copy to new working copy
>   C. delete and cvs remove files from new working copy if necessary
>   D. get rid of old working copy and continue work in new working copy

That is pretty fool-proof, but you lose existing intermediate build
files, which may or may not be a big deal.

> Mike Ayers <address@hidden>
>
>                  4.  Run a script which deletes all the CVS/Root
> directories and then
> `cvs -d /new/path/to/repository update`

s/directories/files/ and this works. Nice tip! Much better than running
N processes to delete/modify existing files...

Also note that if $CVSROOT is defined to the new location, you can just
'cvs up'. 

-Matt


_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs







reply via email to

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