Thursday, January 27, 2011

CVS Commands

1) Export CVSROOT=":pserver:user_name@server_ip_address:repository_name"

2) mkdir cvs_code_check_out

3) cvs co -r TAG_NAME directories (Specify atleast one directory or path)

For example:

% cvs co -r ABC_123


cvs [checkout aborted]: must specify at least one module or directory


4) cvs edit file_name

5)  cvs commit file_name

6) cvs diff -r TAG1 -r TAG2

7) How to create a new CVS branch?

8) cvs tag -b new_branch_name   (This command would tag all the files recursively under the directory with the new TAG name)

9) cvs commit file_name1 file_name2  ( To checkin the files into the cvs repository and then you need to fill in the following details: ISSUE and CHANGE fields)

How to map unix home directory to Windows drive?

1) Login to a unix machine and run "df" command to find the mapping of your home directory.

% df .


My Computer --> Tools --> Map Network Drive --> Select the Name of the Drive [A - Z]
--> Enter the unix path in the Folder Tab.


Now you can access your unix home directory from Windows machine: My Computer -- > [A - Z]