The most comprehensive manual for CVS is Version Management with CVS by Per Cederqvist et al. Depending on your system, you may be able to get it with the info CVS command or it may be available as www.doorway.ru (Portable Document Format), www.doorway.ru (PostScript), www.doorway.ruo (Texinfo source), or www.doorway.ru cvs update Bring a checkout up to date with the repository. The cvs update command is used to merge changes that have been made to a repository into files that have been checked out. Note that it is reverse operation from the one we normally do on VMS, we only ever merge changes made from a checkout into the CMS repository. Since in cvs the norm is to checkout whole . · cvs update When you issue the cvs update command, the cvs client will compare itself to the repository. If you have any files that have changed, or have never been added to the repository, they will stand out, like this.
Subsequent cvs update commands will not retrieve the latest revision until you reset the tag with cvs update -A. Likewise, use of the ‘ -D ’ option to update or checkout sets a sticky date, which, similarly, causes that date to be used for future retrievals. cvs update Bring a checkout up to date with the repository. The cvs update command is used to merge changes that have been made to a repository into files that have been checked out. Note that it is reverse operation from the one we normally do on VMS, we only ever merge changes made from a checkout into the CMS repository. Since in cvs the norm is to checkout whole directory trees, cvs update is the way you find out if anyone has checked stuff in on to of you. If you can't determine the revision, this approach won't work, and you'll need to do a manual merge. Run cvs update to refresh your repository copy. Run cvs log www.doorway.ru (in the appropriate directory) to get the revision number of the copy that you just checked out of the repository.
Merging involves first running cvs update -j, to merge the changes into the working directory. You can then commit that revision, and thus effectively copy. request them via a " cvs update " command. CVS has many other useful features. See the CVS manual pages for a detailed description of how to use it. export--Export sources from CVS, similar to checkout aliases that can be used instead; those aliases are noted in the reference manual for that command.
0コメント