info-cvs
[Top][All Lists]
Advanced

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

RE: NEWBIE -- needs help in moving directories from one repositor y to


From: Luna, Glen
Subject: RE: NEWBIE -- needs help in moving directories from one repositor y to
Date: Tue, 10 Apr 2001 14:59:34 -0400

Larry, 

Thanks for the reply.

There is an existing repository on host_2. The subdirs I will
be extracting from host_1 will into a new root on host_2. The
names of the roots on host_1 and host_2 will be different (but
that's not a rule). The subdirs, sub_1 and sub_2, will remain 
on host_1 and will not co-exist on host_2.

In the typical working directory, a code developer will still
have the same as it did before. (I guess the root names should
be same, hmmmm...). It is imperative that the developer still 
checkout using the same root name.

Now that I look at it, I'm essentially splitting the contents 
of an existing root across two repositories on different hosts.

Once I figure out the recipe to achieve this split, the
next question is....how do I do a "cvs checkout" the right way
to get a working directory of the logical root (a merge)?

We have a series of wrapper scripts to do the typical cvs
commands (commit, remove, add, status, update). We allow the
developers to use "cvs checkout" directly.

Any help/advice is appreciated

Thanks.

Glen Luna

-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: Tuesday, April 10, 2001 2:18 PM
To: Luna, Glen
Cc: address@hidden
Subject: Re: NEWBIE -- needs help in moving directories from one
repository to


Luna, Glen writes:
> 
> I have been tasked to move the contents of a root directory from one
> host machine to another. From host_1, I need to move all subdirs but
> sub_1 and sub_2. Both hosts are Unix machines. We use ssh.

If I were you, I'd use scp to recursively copy the entire repository
(well, at least the CVSROOT directory and the root directory you're
interested in from host_1 to host_2, then delete the subdirectories you
don't want and examine the contents of CVSROOT very carefully since
there may be references to scripts that you'll need to change or
eliminate, a passwd file, etc.  If host_2 doesn't currently have an
active repository, you can just use the copy from host_1; otherwise,
you'll have to merge the stuff in the CVSROOT directories.

-Larry Jones

The game's called on account of sudden death. -- Calvin



reply via email to

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