Perforce 2001.1 Command Reference | ||
<< Previous Chapter P4LOG |
Table of Contents Index Perforce on the Web |
Next Chapter >> P4PAGER |
If the program you use takes its arguments in a different order, set P4MERGE to a shell script or batch file that reorders the arguments and calls the proper merge program with the arguments in the correct order.
If you are running under Windows, you must call a batch file, even if your third-party merge program already accepts arguments in the order provided by Perforce. This is due to a limitation within Windows. For instance, if you want to use a program called MERGE.EXE under Windows, your batch file might look something like this:
SET base=%1
SET theirs=%2
SET yours=%3
SET merge=%4
C:\FULL\PATH\TO\MERGE.EXE %base %theirs %yours %merge
Perforce 2001.1 Command Reference | ||
<< Previous Chapter P4LOG |
Table of Contents Index Perforce on the Web |
Next Chapter >> P4PAGER |