基于文件的 VCS 结账

发布于 2024-09-12 19:31:48 字数 84 浏览 3 评论 0原文

我想从 CVS 服务器签出一堆文件。
有没有办法可以向 cvs 命令传递一个包含我想要签出的文件的文件名
还有另一种方法可以实现这一点吗?

I want to checkout a bunch of files from a CVS server.
Is there a way I can pass cvs command a file name which contains files I want to checkout
Is there another way of accomplishing that?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

(り薆情海 2024-09-19 19:31:48

假设您使用的是 bash 风格的 shell:

cvs co $(< myfile)

其中 myfile 包含您要签出的文件列表。

如果您谈论的是模块而不是文件,Oliver Giesen 的答案将会很有用。

Assuming you are using a bash-style shell:

cvs co $(< myfile)

Where myfile contains the list of files you want to check out.

If you're talking about modules instead of files, Oliver Giesen's answer will be useful.

简美 2024-09-19 19:31:48

您可能想查看 CVSROOT/modules 文件的文档,然后定义一个如下所示的常规模块:

MyModule folder file1 file2 file3 [...]

然后您可以执行以下操作:

cvs co MyModule

You might want to take a look at the docs for the CVSROOT/modules file and then define a regular module like this:

MyModule folder file1 file2 file3 [...]

You would then be able to do:

cvs co MyModule
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文