p4 diff2 还显示更改列表描述

发布于 2024-12-03 12:57:21 字数 309 浏览 4 评论 0原文

我是 Perforce 新手,但我需要帮助。我正在编写 .bat 文件来在我的分支上执行 p4 diff2,以查看我需要集成哪些更改。我还有一个文件将进行 p4 更改以显示所有待处理和已提交的更改列表。

我想要做的是执行 p4 diff2 -b [branch] >file.txt 将所有信息放入 txt 文件中,但我也希望它不仅包含需要集成的文件,还包含更改列表每一项都附有描述。目标是了解每个文件更改的原因。

有没有简单的方法可以做到这一点?

编辑:此外,如果有一种简单的方法可以将此信息输出到 Excel 工作表或 csv 格式,那就太好了。

I'm new to Perforce, but I need help. I am writing .bat files to do a p4 diff2 on my branches to see what changes I would need to integrate. I also have a file that will do p4 changes to show me all pending and submitted changelists.

What I want to do is perform a p4 diff2 -b [branch] >file.txt to put all the info into a txt file, but I also want it to include not just the files that need to be integrated, but the changelist descriptions that went with each one. The goal is to see WHY each file was changed.

Is there an easy way to do this?

EDIT: Also, if there is an easy way to output this info into an excel sheet or csv format, that would be great.

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

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

发布评论

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

评论(1

暮光沉寂 2024-12-10 12:57:21

您可能正在尝试复制 Perforce 中已内置的功能。看一下“p4 interchanges”命令,它会告诉您分支之间需要集成什么。

只需执行“p4 help interchanges”即可获取文档。 -l 选项显示变更列表描述的全文。

It could be you are trying to duplicate functionality already built in to Perforce. Have a look at the 'p4 interchanges' command, which will tell you what needs integrating between branches.

Just do 'p4 help interchanges' to get the docs. The -l option displays full text of changelist descriptions.

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