如何签出单个文件?

alw*_*btc 7 cvs file vcs-checkout

我想file1从CVS存储库签出到当前目录.

File1的路径是: /opt/application/CVS_REPOSITORY/project/lib/source/file1

我该怎么做?

首先我设置:

setenv CVSROOT /opt/application/CVS_REPOSITORY
Run Code Online (Sandbox Code Playgroud)

那我该怎么办?

cvs co -r . /lib/source/file1 ??
Run Code Online (Sandbox Code Playgroud)

要么

cvs co -r . project/lib/source/file1  ??
Run Code Online (Sandbox Code Playgroud)

Daw*_*ood 8

尝试 cvs co project/lib/source/file1


小智 5

我必须使用“cvs update filename ”从 cvs 模块中提取单个文件。在模块本地工作区中运行此命令。