diffing a change

Scott Long scottl at freebsd.org
Wed Jun 18 22:33:20 GMT 2003


Dag-Erling Smorgrav wrote:
> Peter Wemm <peter at wemm.org> writes:
> 
>>Maxime Henrion wrote:
>>
>>>Dag-Erling Smorgrav wrote:
>>>
>>>>There seems to be no way of obtaining a diff of the files involved in
>>>>a pending changelist.  Have I overlooked anything?  If not, what is
>>>>the best way to submit a feature request to the p4 developers?
>>>
>>>p4 describe should do it.
>>
>>It isn't that simple.  Until the submit is complete, the only copy of the
>>changed files are on the client.
> 
> 
> That's OK, I just want to see my own changes.
> 
> DES

p4 diff [-du]

If the files are changed but not open, then you'll need to open them
first with something like:

p4 diff -se |xargs p4 edit

Beware that these commands will operate on your entire client unless you
give a path specifier.

Scott

To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list