Jai Kumaran V.G. <[email protected]> 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
pgp3lpoIwcIRw.pgp
Description: PGP signature
