info-cvs
[Top][All Lists]
Advanced

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

Re: [CVS] safely move a module from one repo to another.


From: Mark D. Baushke
Subject: Re: [CVS] safely move a module from one repo to another.
Date: Fri, 20 Aug 2004 09:55:03 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas Lavergne <address@hidden> writes:

> I have a corrupted cvs repo (basically CVSROOT is empty) with 3
> modules in it. This configuration (although buggy) worked fine for me
> up to now as I am alone on the project, have a direct access to the
> repo (it is in my Linux home) and checkout everything under Linux. I
> am conscious I am in a very simple situation.
> Then I discrovered this cvs repo was corrupted, so I created a new
> repo with "cvs -d newrepo init" and began to work on a new module  in
> this one. Howver, it is not really convenient as I cannot have two
> CVSROOT env variables so I need to use cvs -d to access one of the
> repos.


> My question is, given my extremly simple situation, can I just mv the
> modules' directories from the old corrupted repo to the new one and
> everthing continues as before.

Yes.

> My guess is yes, as the corrupted repo has really only CVSROOT(empty)
> and my 3 modules.
> Or perhaps do I have to edit some of the new repo's CVSROOT's file to
> make it aware I am adding a new CVS module?

If CVSROOT is just empty, use 'cvs init' on it and it should be fixed
for you. The 'cvs init' command is safe as it will not damage any
existing repository and only populates CVSROOT with files that do not
already exist.

        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFBJizn3x41pRYZE/gRApcGAKCAgtEJN1YQmHlaxq431BAHo+QV1gCgrI9n
tA2DA6I1Nm1XhkbTzqhcHHQ=
=BCQ3
-----END PGP SIGNATURE-----




reply via email to

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