RSS

Category Archives: cvs

cvs checkout in custom directory

cvs co -d dir_name company/project

 
Leave a comment

Posted by on November 3, 2008 in cvs

 

Recursively add files to cvs

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
 
Leave a comment

Posted by on April 30, 2008 in cvs, linux

 

remote cvs checkout

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

 
Leave a comment

Posted by on October 23, 2007 in cvs

 

Tags:

cvs rollback

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

 
Leave a comment

Posted by on October 23, 2007 in cvs

 

CVS diff different versions of the file

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

 
Leave a comment

Posted by on October 23, 2007 in cvs

 

Tags:

 
Follow

Get every new post delivered to your Inbox.