Perforce:命令行列出标记为删除的文件
我的工作区中有标记为删除的文件(但尚未提交)。现在我希望它们在命令行中列出。我尝试过以下命令但没有成功。
p4 diff -sd "C:\myworkspace\..."
我在 diff 命令中找不到任何选项来列出标记为删除的文件。是另一个命令,还是隐藏选项?
I have files that are marked for delete in my workspace (but not yet submitted). Now I want them to be listed at command line. I have tried the following command without success.
p4 diff -sd "C:\myworkspace\..."
I could not find any option in the diff command to list files that are marked for delete. Is it another command, or a hidden option?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您正在寻找的命令是p4打开
您会可能想要过滤输出以仅包含标记为删除的文件(您可以看到我在默认更改列表上有添加和删除)。
注意:如果您已将更改放在编号更改列表中,则还可以使用
-c
参数指定特定更改列表。The command you are looking for is p4 opened
You would probably want to filter the output to only include the files as marked for delete (you can see I have an add and delete on the default changelist).
Note: You can also use the
-c
parameter to specify a certain changelist if you have placed your changes on a numbered changelist.或者你可以使用fstat:
Or you could use fstat: