(cvs.info.gz) Outside
Info Catalog
(cvs.info.gz) Moving files
(cvs.info.gz) Inside
7.4.1 The Normal way to Rename
------------------------------
The normal way to move a file is to copy OLD to NEW, and then issue the
normal CVS commands to remove OLD from the repository, and add NEW to
it.
$ mv OLD NEW
$ cvs remove OLD
$ cvs add NEW
$ cvs commit -m "Renamed OLD to NEW" OLD NEW
This is the simplest way to move a file, it is not error-prone, and
it preserves the history of what was done. Note that to access the
history of the file you must specify the old or the new name, depending
on what portion of the history you are accessing. For example, `cvs
log OLD' will give the log up until the time of the rename.
When NEW is committed its revision numbers will start again, usually
at 1.1, so if that bothers you, use the `-r TAG' option to commit. For
more information see Assigning revisions.
Info Catalog
(cvs.info.gz) Moving files
(cvs.info.gz) Inside
automatically generated byinfo2html