6. Remove files from the project.
1. The operation steps and the addition of the operation are similar, and the difference is that add changes to REMOVE, the same thing is that both COMMIT is needed.
2, pay attention to delete the files in the working directory.
3,! ! ! CVS just deletes the current version of the specified file, which still exists, unless it just has only 1.1 version.
4,! ! ! Deleting a directory method is to delete all files in the directory. Users cannot delete the directory itself, and there is no way to do this in CVS. You can use the -p option in the CVS Update or CVS Checkout command to let CVS delete an empty directory in the working directory (note the cvs export command always delete the empty directory). The best way is to specify the -p option every time you have. If the user wants to keep an empty directory in the working directory, you will have to put a file (such as a .keepme) file in this directory to prevent it from being removed by the -p command.
7. Set a specific version number.
1. The program is slightly scaled, and when it is relatively mature, you can set all the code to a version of the label.
2, CVS TAG TEST_1, the default recursive subdirectory to take out this version of the command to cvs Checkout -r test_1 Sound, generate the Sound subdirectory in the current directory and place all the code marked as Test_1.
Eight, update the files in the current directory.
1. The command switch is UPDATE, which is mainly used for multiple user operations.
2. For single users, different versions can be implemented through the -j command. CVS Update -j 1.8 -J 1.2, can ignore the change from version 1.8 to version 1.8.
Nine, allocate version number.
1. Update all files (including files that are not modified) to version 3.0, you can call the following command: cvs commit -r 3.0
2,! ! ! The new version number must be higher than the maximum version number of all existing documents.
Ten, branch management.
1. If you are developing a high version, the low version has a problem, don't want to put down the high version of the work, this time you can set the branch, and revise the low version; you can also fuse with existing high versions after the revision work. .
2, based on the current work copy establishment branch. CVS Tag -b Rel-1-0-Patches
3. It is also possible to establish a branch based on some version or tag directly in the source code library. CVS RTAG -B -R REL-1-0 REL-1-0-Patches TC, pay attention to the RTAG command used.
4. Make changes to the current work directory for the branch. CVS Update -j Branchname; CVS Commit