[p4] Facilitating code reviews?

Jeff Grills jgrills at drivensnow.org
Wed Oct 12 13:58:36 PDT 2005

"p4 diff" can limit its output to a single changelist, which might be
I also have a set of utilities in my directory on public.perforce.com called
p4tar and p4untar which are capable of packing a changelist up into a single
file, which can be unpacked on another machine.  The original purpose of the
utility was to allow me to move work-in-progress from my work machine to my
home machine (to continue working in the evening after the kids have gone to
bed), but it turned out to be a very useful way to distribute changes for
review because reviewers can use their typical tools to diff the changes
themselves.  You probably want to use the "-i" argument when p4tar'ing the
files.  This utility will require several unix commands to be available in
your path (like tar, and possibly gzip), which you can get for Windows from
cygwin (http://www.cygwin.com).
My scripts can be found here:

-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Robin Charlton
Sent: Wednesday, October 12, 2005 12:24 PM
To: perforce-user at perforce.com
Subject: [p4] Facilitating code reviews?

Our development process demands that we carry out a code review prior to
submitting changes to the main branch. However this should occur after the
changes are integrated and resolved.
So if I have a changelist containing my changed files, is there an easy way
to produce a summary of the differences that I can distribute to other
engineers for review?
rcharlton at antics3d.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.perforce.com/pipermail/perforce-user/attachments/20051012/697bb483/attachment-0006.html>

More information about the perforce-user mailing list