1 / 9

Concurrent Version System

Concurrent Version System. Jaeho Shin <netj@SPARCS> 2001/05/14. What’s CVS?. Concurrent Version System Can record the history of your source files Every versions of every files are saved in an efficient way Asynchronous control The Repository and the Working Directory

dinh
Download Presentation

Concurrent Version System

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Concurrent Version System Jaeho Shin <netj@SPARCS> 2001/05/14

  2. What’s CVS? • Concurrent Version System • Can record the history of your source files • Every versions of every files are saved in an efficient way • Asynchronous control • The Repository and the Working Directory • Non-exclusive control • Access to one file by multiple developers

  3. The Repository • Where all your files are stored • CVSROOT environment variable • “cvs -d <repository> <command> …” • To create a repository • “cvs init” • Remote Repository • pserver/kserver/cvsup

  4. The Working Directory • Where your works are saved • Must use “commit” command to synchronize with the repository • To create a working directory • “cvs checkout <module>”

  5. Working with CVS • Checkout • “cvs checkout <module>” • Edit • Do something with your checked out files • Update/Add/Remove • “cvs update <files>” • “cvs add <files>” • “cvs remove <files>” • Commit • “cvs commit”

  6. Working with CVS 2 • Importing sources • “cvs import <repository> <vendor-tag> <release-tags> …” • Tagging • “cvs tag <tag> <filename>” • Exporting sources • “cvs export -r <tag> <module> …”

  7. Working with CVS 3 • To view the repository access history • “cvs history” • To view the log of files • “cvs log <filename> …” • To view the status of checked out files • “cvs status <filename> …”

  8. Working with CVS 4 • To watch on files • “cvs watch [on|off|add|remove] <files> …” • “cvs watchers <filename> …” • To notice you are editing • “cvs edit <filename> …” • “cvs unedit <filename> …” • “cvs editors <filename> …”

  9. References • CVS website • http://www.CVShome.org/ • Man pages • “man cvs” • CVS help messages • “cvs --help” • “cvs –help-commands” • “cvs –help-options”

More Related