Next: , Previous: cvsdo, Up: cvsutils -- General Utilities For Use With CVS


cvschroot

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
Karl Fogel wrote this book. Buy a printed copy via his homepage at red-bean.com

copyright  ©  July 20 2019 sean dreilinger url: https://durak.org/sean/pubs/software/cvsbook/cvschroot.html