(M)  s i s t e m a   o p e r a c i o n a l   m a g n u x   l i n u x ~/ · documentação · suporte · sobre

  Next Previous Contents

7. CVS Documentation

At unix prompt type -

  1. cvs --help
  2. cvs --help-options
  3. cvs --help-commands
  4. cvs -H checkout
  5. cvs -H commit
  6. man cvs
  7. man tkcvs
  8. Visit http://www.cyclic.com
  9. Visit http://www.loria.fr/~molli/cvs-index.html

The tkcvs http://www.tkcvs.org is the Tcl/Tk GUI interface to CVS. It also has online help.

  • cd $HOME/src/foo.cpp
  • tkcvs
  • Click on foo.cpp
  • Click on 'Revision Log Icon' which is located next to 'spectacle' icon
  • This will display the branch TREE in the window. Now RIGHT Mouse button click on the text '1.3' and LEFT Mouse button click on text '1.1'. Than click on "Diff" button. This will display 2 pane-window!!
  • Click on "Next" button to step thru more diffs. Click on "Center" to center the text.

There is also a Windows 95 client for CVS, and is called WinCVS http://www.wincvs.org and cyclicsite WinCVS can be used along with Samba(on cdrom samba*.rpm) - http://www.samba.org

The essential command are -

  • cvs checkout <filename >
  • cvs update <filename>
  • cvs add <file, ..>
  • cvs remove <file, ..>
  • cvs commit <file>
  • cvs status <filename>
  • cvs log <filename>
  • cvs diff -r1.4 -r1.5 <filename> This gives diff between version 1.4 and 1.5 on filename.

7.1 Online documentation

On linux systems, you can find the CVS documentation in postscript format at /usr/doc/cvs*/*.ps. Also there is FAQ and other useful information.


bash# cd /usr/doc/cvs*
bash# gv cvs.ps

7.2 CVS Org documentation

The documentation on CVS from "CVS Organisation" is at http://www.cvshome.org/docs

Official manual for CVS by Cederqvist is at http://www.cvshome.org/docs/manual/cvs.html

FAQ for CVS is at http://www.cs.utah.edu/dept/old/texinfo/cvs/FAQ.txt

7.3 CVS Training


Next Previous Contents