如何使用 tortoiseCVS 从 cvs-server 只检出修改过的文件

发布于 2024-09-30 10:11:14 字数 78 浏览 1 评论 0原文

我需要检查开发人员修改的文件。我尝试了 Date 命令,但它检查了整个项目。但我只需要修改我的补丁文件的目录结构。有什么办法可以检查这些文件。

I need to checkout the files modified by developers. I tried Date command but it check-out the whole project. But i need only modified file for my patch with directory structure. Is there any way to checkout those files.

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

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

发布评论

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

评论(1

云归处 2024-10-07 10:11:14

目前尚不清楚您到底想在这里做什么 - 如果您确实想签出项目的新副本,其中仅包含相对于当前副本修改的文件,那么我认为 TortoiseCVS 没有办法做吧。原则上,我想您可以手动执行此操作(例如签出项目的新副本,将其与现有副本进行比较,然后删除任何相同的文件),但对于任何实际大小的项目来说,这肯定会很乏味。

但是我想知道您是否真正想要的是使用其他开发人员提交到存储库的最新更改来修补文件的本地签出副本?如果是这样,则使用 CVS“更新”命令,该命令会将这些更改合并到您的本地副本中,同时仍然保留您可能在那里的任何未提交的修改。 (请注意合并过程中产生的任何冲突 - TortoiseCVS 应该在更新过程中向您发出警告,但必须通过手动编辑来解决。)

It's not clear what precisely what you want to do here - if you really do want to checkout a new copy of the project which only contains the files that are modified relative to your current copy, then I don't think TortoiseCVS has a way to do it. In principle I imagine you could do it manually (e.g. checkout a new copy of the project, compare it with your existing copy and then delete any files which are the same), but it would surely be tedious to do for any realistically-sized project.

However I'm wondering if what you actually want is to patch a local checked-out copy of the files with the latest changes committed to the repository by other developers? If so then use the CVS "update" command, which will merge those changes into your local copies while still preserving any uncommitted modifications you might have there. (Be aware of any conflicts arising from the merging process - TortoiseCVS should warn you during the update, but they have to be resolved with manual editing.)

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