仅在工作目录中的 CVS 文件列表

发布于 2024-07-18 04:25:01 字数 167 浏览 2 评论 0原文

是否可以获取工作目录树中但不在当前分支/标签中的文件列表? 目前,我将工作副本与更新到相同模块和标记/分支的另一个目录进行比较,但没有本地非存储库文件。 它可以工作,但不尊重 .cvsignore 文件。 我认为必须有一个使用“cvs diff”变体的选项。

提前致谢。

Is it possible to get a list of files that are in the working directory tree, but not in the current branch/tag? I currently diff the working copy with another directory updated to the same module and tag/branch but without the local non-repo files. It works, but doesn't honor the .cvsignore files. I figure there must be an option using a variation of 'cvs diff'.

Thanks in advance.

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

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

发布评论

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

评论(1

追我者格杀勿论 2024-07-25 04:25:01

如果您的项目有:

dir/a.txt       <--- In CVS
    b.txt       <--- In CVS
    c.txt       <--- In CVS
    newfile.txt <---- ***NOT IN CVS***

那么以下命令将为您识别 newfile.txt:

cvs -n update | egrep '^?'

If your project has:

dir/a.txt       <--- In CVS
    b.txt       <--- In CVS
    c.txt       <--- In CVS
    newfile.txt <---- ***NOT IN CVS***

Then the following command will identify newfile.txt for you:

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