Perforce diff file against a specific changelist

diff, perforce

Solution

Yes, you can specify any revision of the depot file to diff against. For example, if that 'earlier change list' was change 1742, you can simply do:

p4 diff myFile.txt //depot/path/to/myFile.txt@1742

There are lots of ways to specify the desired revision of the file in the depot. Run

p4 help revisions

for all the details, or see: http://www.perforce.com/perforce/doc.current/manuals/cmdref/filespecs.html

Problem

Is there a way to quickly diff a file(edited in my current work area) to same file submitted in an earlier change list in perforce ?

Original source