3 messages in com.perforce.perforce-user[p4] diff two previous revisions
FromSent OnAttachments
Cris Holdorph15 Apr 2003 09:42 
Dave Lewis15 Apr 2003 09:50 
Keith Johnson15 Apr 2003 09:51 
Subject:[p4] diff two previous revisions
From:Cris Holdorph (hold@unicon.net)
Date:04/15/2003 09:42:12 AM
List:com.perforce.perforce-user

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