Thursday 4 November 2010

How to set file labels in p4merge

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 offpausep4merge %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?


View the original article here

No comments:

Post a Comment