Re: [p4] Viewing the changes in a pending changelist?
Sambwise <[email protected]>
| Newsgroups | gmane.comp.version-control.perforce |
|---|---|
| Message-ID | <[email protected]> |
Posted on behalf of forum user 'Sambwise'. Matt has it right, "p4 describe" isn't set up to call into the client-side diff routine as part of printing its output, so it only shows diffs that can be done server-side. [https://forums.perforce.com/index.php?app=forums&module=forums§ion=findpost&pid=22387] Mailman Sync, on 2017/09/27 20:40:02 UTC, said: > p4 opened -c $c | sed -e 's/#.*//' | p4 -x - diff -du10 2>&1 | less > > which requires Unix-like tools (Linux, Windows with Cygwin, et cetera)? > The -F (format string) global option generally eliminates the need for using "sed" and the like to pipe filename output into other commands: p4 -F %depotFile% opened -c $c | p4 -x - diff -du10 More on that option here: https://www.perforce.com/blog/fun-formatting -- Please click here to see the post in its original format: http://forums.perforce.com/index.php?/topic/5497-viewing-the-changes-in-a-pending-changelist _______________________________________________ perforce-user mailing list - [email protected] http://maillist.perforce.com/mailman/listinfo/perforce-user