I would like to see a visual diff of a forked file. Therefore i do it
p4 diff2 -b branchname main.cpp
One problem ... it is not visual and external diff is not supported.
http://www.perforce.com/perforce/doc.current/manuals/cmdref/diff2.html
p4 diff2 does not use the diff program specified by the environment variable P4DIFF.
The diff algorithm used by p4 diff2 runs on the machine hosting the Perforce server,
and always uses the server built-in diff routine.
I need my visual diff. How to get it?
source
share