Monday, March 17, 2008

Importing Projects into CVS in Unix


Importing Projects into CVS


% cd /tmp  % mkdir ProjectX  
% touch ProjectX/File1.java
% touch ProjectX/File2.java
% touch ProjectX/File3.java
% cd ProjectX
% cvs import ProjectX INITIAL start

Ensure that you now backup and remove the original ProjectX working directory and checkout the newly imported module when you need to work on it:
% rm -rf ProjectX  
% cvs co ProjectX U ProjectX/File1.java U ProjectX/File2.java U ProjectX/File3.java

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home