Archive

Archive for the ‘cvs’ Category

cvs checkout in custom directory

November 3, 2008 varnit Leave a comment

cvs co -d dir_name company/project

Categories: cvs

Recursively add files to cvs

April 30, 2008 varnit Leave a comment

Let say we have the following directory structure

  • project
    • one
    • two
  1. add the root directory (project) 

    cvs add project 

  2. cvs ci project
  3. cd project
  4. find all directories

    find . -type d -print | grep -v CVS | xargs cvs add

  5. cvs ci
  6. find all files other than CVS and .

    find . -type f -print | grep -v CVS | grep “^\.\/” |xargs cvs add

  7. cvs ci
Categories: cvs, linux

remote cvs checkout

October 23, 2007 varnit Leave a comment

cvs -d :pserver:username@server:/usr/local/cvsroot checkout project

Categories: cvs Tags:

cvs rollback

October 23, 2007 varnit Leave a comment

cvs up -j 1.43 -j 1.42 classes/someClass.php

Categories: cvs

CVS diff different versions of the file

October 23, 2007 varnit Leave a comment

cvs diff -u -r 1.42 -r 1.43 classes/someClass.php

Categories: cvs Tags: