Perforce分支文件的视觉差异(p4 diff2 with external diff)

mil*_*lus 8 diff perforce branch

我想看一个分支文件的视觉差异.所以我这样做

p4 diff2 -b branchname main.cpp

一个问题......它不是视觉的,不支持外部差异. 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's built-in diff routine.

我想要我的视觉差异.我怎么得到它?

Dou*_*der 6

也许从P4V最容易做差异?

除此之外,您可能需要p4 print将两个文件发送到某些本地临时文件,然后对这些文件运行差异?