我如何查看过去 24 小时内所有 CVS 签到的比较?

发布于 2024-08-18 23:32:55 字数 238 浏览 5 评论 0原文

我想每天检查一次 CVS 存储库的所有签入并进行代码 QA。目前,我们正在运行一份报告,告诉我们哪个文件被更改、提交者和签入注释,但这让我依次打开每个文件以检查差异。

我真正想做的是询问在给定日期更改的所有文件,然后选择每个文件以查看更改是什么。

理想情况下,我能够在 Visual Studio 中完成此操作,但如果这能让生活更轻松的话,我也可以访问 Eclipse。或者,事实上,其他工具,如果它能让我更有效率的话......

I want to go through all of the checkins to our CVS repository once a day and do a code QA. At the moment we're running a report that tells us which file was changed, the committer, and the check in comment, but that leaves me opening each file in turn to check what the differences are.

What I really want to do is ask for all files changed on a given date and then select each one to see what the changes were.

Ideally I'd be able to do it within Visual Studio, but I have access to Eclipse if that would make life easier. Or, indeed, other tooling if it will make me more productive...

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

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

发布评论

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

评论(1

北城挽邺 2024-08-25 23:32:55

在最基本的级别上,您可以在命令行中使用 cvs diff 命令:

cvs diff -D YYYYMMDD_1 -D YYYYYMMD_2 

它将报告存储库中的文件在两个日期之间的差异。您也可以

cvs diff -D "1 day ago"

在 Eclipse 中执行此操作。

  • 从存储库刷新您的项目
  • 获取项目的上下文菜单
  • 导航到 Compare With>另一个分支或版本...
  • 这会弹出一个模式对话框,您可以在其中指定要比较的日期,
  • 然后您将获得差异文件的资源管理器(树)视图,您可以使用Eclipse 差异查看器。

(但不知道 Visual Studio 是否适用。)

At the most basic level you can use the cvs diff command at the command line:

cvs diff -D YYYYMMDD_1 -D YYYYYMMD_2 

Which will report differences between the files in your repository on the two dates. You can also do

cvs diff -D "1 day ago"

You can also do this in Eclipse.

  • Refresh your project from the repository
  • Get the contextual menu up for your project
  • Navigate to Compare With> Another Branch or Version...
  • That brings up a modal dialog box, in there you can specify a date to compare to
  • You'll then get an Explorer (tree) view of difference files, which you can peruse using the Eclipse diff viewer.

(Don't know for Visual Studio though.)

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