[p4] diff between two revisions

Jeff Sparks jeffrsparks at yahoo.com
Tue Jan 30 11:36:19 PST 2007


Just to wrap this up, the problem was of course my confusion between
 revision number and changelist number.  After years of subversion
 (where there is no such distinction), the habit is hard to break.
 
 My mistake was "confirmed" by the following:
 
     terra% p4 diff Makefile#1499 Makefile#1186
     Makefile#1499 - file(s) up-to-date.
     Makefile#1186 - file(s) up-to-date.
 
 Just try it with any file 'foo' under version control, with any
 revision numbers:
 
     % p4 diff foo#9999999 foo#100000000
     foo#9999999 - file(s) up-to-date.
     foo#100000000 - file(s) up-to-date.
 
 Had it not been for this (IMO) misleading output, I likely would have
 realized my mistake sooner and would not have bothered this list.
 What is the meaning of this output, anyway?  Isn't it a bug?
 
 Also, I think the unintended 'wrong' answers from a few folks here
 regarding '#' verses '@' makes a pretty solid case that the 'revision'
 and 'changelist number' concepts should be combined (as in
 subversion).  I don't mean to sound trollish; I just don't see a
 compelling reason for the distinction.  If they were combined, my
 hassles would have been avoided altogether.
 
 --jeff
 

 
---------------------------------
Everyone is raving about the all-new Yahoo! Mail beta.


More information about the perforce-user mailing list