是否有一个 Perforce 命令来显示文件/目录的所有签入列表以及更改的文件列表和描述? [英] Is there a single Perforce command to display a list of all the check-ins to a file/dir along with the list of files that changed and the description?

查看:49
本文介绍了是否有一个 Perforce 命令来显示文件/目录的所有签入列表以及更改的文件列表和描述?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

p4 changes -l ... 向我们展示了签入列表和描述,但不显示签入中修改的文件列表.有没有一种方法可以在一个命令中做到这一点,而无需创建一个包装脚本来组合另一个命令的输出,例如 p4 describep4 file?

p4 changes -l ... shows us the list of check-ins and the description, but it doesn't show the list of files that were modified in the check-in. Is there a way to do that in one command, without the need to create a wrapper script that combines the output of another command like p4 describe or p4 file?

在 Subversion 中,我可以通过运行 svn log -v 来做到这一点.

In Subversion, I can do this by running svn log -v.

推荐答案

'files' 命令可以满足您的需求.一个简单的方法是:

The 'files' command can do what you're looking for. An easy way is:

p4 files //...@=<changelist>

该示例将在指定的视图下列出由该更改列表修改的文件.

That example will list the files modified by that changelist, under the view specified.

这篇关于是否有一个 Perforce 命令来显示文件/目录的所有签入列表以及更改的文件列表和描述?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆