Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I checkout a single file?

I would like to checkout file1 from CVS repository to the current directory.

File1's path is: /opt/application/CVS_REPOSITORY/project/lib/source/file1

How do I do it?

First I set:

setenv CVSROOT /opt/application/CVS_REPOSITORY

Then what should I do?

cvs co -r . /lib/source/file1 ??

Or

cvs co -r . project/lib/source/file1  ??
like image 782
alwbtc Avatar asked Jan 31 '12 09:01

alwbtc


2 Answers

I had to use "cvs update filename" to pull single file from cvs module. Run this command in the module local workspace.

like image 101
Amulya Yadavilli Avatar answered Nov 10 '22 22:11

Amulya Yadavilli


Try cvs co project/lib/source/file1

like image 32
Dawood Avatar answered Nov 10 '22 21:11

Dawood