In cvs I could do the following style command:
cvs diff -r 1.3 -r 1.4 file.java
Where potentially neither revision 1.3 or 1.4 was the version I had in
my client.
The only way to get the functionality out of perforce and the p4 diff command
for me has been...
p4 sync file#4
p4 diff file#3
p4 sync file
The problem I have with this way, is that if you forget the last step, you
could have an inconsistent node. (you go to build, and you're compiling/
testing against a bad version file, but you're not necessarily aware of it).
Is there any other way to do this sort of thing that doesn't involve sync'ing
to a different revsion?
---- Cris J H