info-cvs
[Top][All Lists]
Advanced

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

Re: Convert already downloaded code from one user to another


From: Mark D. Baushke
Subject: Re: Convert already downloaded code from one user to another
Date: Tue, 31 Aug 2010 12:39:55 -0700

Jai Kumaran V.G. <address@hidden> writes:

> i have downloaded a codebase with user1 credentials, i want to just to
> migrate this existing download code base to user2 with out downloading
> the codebase again.

If your CVS/Root files mention user1, then you will need to modify your
CVS/Root files using something like the 'newcvsroot.sh' script which
comes with your CVS source distribution.

If there are any files being watched and you have done a 'cvs edit' then
you will likely need to revert those locks as user1 before proceeduing
to adding advisory locks as user2.

> is find and replace best solution or is there any optimal solution for
> this ? or is there any tools to do this?

You may use a command-line 'cvs -d $CVSROOT' to over-ride the CVS/Root
entries, or you may choose to use the contrib/newcvsroot.sh which comes
with the CVS source distribution to change the CVS/Root as appropriate
for user2.

You may need to change the underlying file permissions and ownerships to
allow the approprate user2 to have full access to the repository.

        -- Mark

Attachment: pgpLHV6XKO5R0.pgp
Description: PGP signature


reply via email to

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