如何在p4merge中设置文件标签
当从 p4v 调用 p4merge 时,它会将软件仓库路径显示为文件上的标签。我想使用 p4merge 作为 SVN 的差异查看器,为此我有这个批处理文件:
@echo off
pause
p4merge %6 %7
这可以工作,但出现在左侧和右侧面板上的标签是 SVN 创建的用于提供给 p4merge 的临时文件的名称。 SVN 传递给批处理文件的参数 %3 和 %5 分别包含左面板和右面板的适当标签。我确信我记得有命令行参数来设置您想要在每个面板上显示的标签,但 p4merge -h
没有列出它们。这些是什么?
When p4merge is invoked from p4v it displays depot paths as labels on the files. I would like to use p4merge as a diff viewer for SVN, and to that end I have this batch file:
@echo off
pause
p4merge %6 %7
This works, but the labels appearing on the left and right panels are the names of the temporary files SVN has created to feed to p4merge. Arguments %3 and %5 that SVN passes to the batch file contain appropriate labels for the left and right panels respectively. I am sure I remember there being command-line arguments to set what labels you want to appear on each of the panels, but they are not listed by p4merge -h
. What are they?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来我正在寻找的选项是
-nl NAME
来命名左窗格,-nr NAME
来命名右窗格。所以我的批处理文件现在是:It looks like the options I was looking for are
-nl NAME
to name the left pane and-nr NAME
to name the right pane. So my batch file is now: