[p4] Diff for specific changeset?
Tony Sweeney
sweeney at addr.com
Mon Oct 8 07:59:19 PDT 2007
Roy Smith wrote:
> Yes, but what I'm trying to figure out is how to make it suppress
> things that are not on the default changelist, so I can see exactly
> what's going to get submitted when I do "p4 submit".
>
Roy,
this (or something like it) should do what you want on UNIX derived systems:
p4 opened -c default | grep ' - edit default change ' | sed -e
's/#.*$//' | p4 -x - diff
I could have sworn 'p4 diff' implemented this directly, but no.
Tony.
> On Oct 8, 2007, at 9:56 AM, Stephen Vance wrote:
>
>
>> 'p4 diff' with no arguments shows you the diff of everything that
>> is open against the have version in the current or specified
>> workspace.
>>
>> Steve
>>
>> Roy Smith wrote:
>>
>>> Is there anyway to restrict "p4 diff" to just show you the diffs
>>> for a specific pending change set (or the default changeset)? In
>>> other words, I want to see the changes that will be submitted
>>> when I do "p4 submit".
>>>
>>> -------------------
>>> Roy Smith <smith_roy at emc.com>
>>> Software Guy, EMC Common Management Group
>>> 44 South Broadway, 7th floor
>>> White Plains, NY 10601
>>> (914) 580-3427
>>> AIM: roysmith649
>>>
>>> _______________________________________________
>>> perforce-user mailing list - perforce-user at perforce.com
>>> http://maillist.perforce.com/mailman/listinfo/perforce-user
>>>
>>>
>>>
>> --
>> Stephen Vance
>> www.vance.com
>>
>>
>>
>
> -------------------
> Roy Smith <smith_roy at emc.com>
> Software Guy, EMC Common Management Group
> 44 South Broadway, 7th floor
> White Plains, NY 10601
> (914) 580-3427
> AIM: roysmith649
> _______________________________________________
> perforce-user mailing list - perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
>
>
--
quis custodiet ipsos custodes? -- Juvenal VI, 347-8
More information about the perforce-user
mailing list