Next: cvsrmadm, Previous: cvsdo, Up: cvsutils -- General Utilities For Use With CVS
Danger level: Low
Contacts repository: No
This deals with a repository move by tweaking the working copy to point to the new repository. This is useful when a repository is copied en masse to a new location. When that happens, none of the revisions are affected, but the CVS/Root (and possibly the CVS/Repository) file of every working copy must be updated to point to the new location. Using cvschroot is a lot faster than checking out a new copy. Another advantage is that it doesn't lose your local changes.
Usage:
floss$ cvschroot NEW_REPOS
For example:
floss$ cvschroot :pserver:newuser@newhost.wherever.com:/home/cvs/myproj