[p4] Diff for specific changeset?
Sam Clegg
sam at ideaworks3d.com
Mon Oct 8 10:04:56 PDT 2007
On Mon, 2007-10-08 at 15:59 +0100, Tony Sweeney wrote:
> 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
Yuck. Nothing against your shell scripting, but p4 should make this
common task simpler than the above.
> I could have sworn 'p4 diff' implemented this directly, but no.
I've been wishing that this was built-in for a long time. This is
essential for passing code around for reviews when you have many open
changelists.
Why can't "p4 describe" show the diffs of pending changlists when
running on the machine where the changes exist?
--
sam clegg
sam at ideaworks3d.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://maillist.perforce.com/pipermail/perforce-user/attachments/20071008/497e7adf/attachment.bin
More information about the perforce-user
mailing list