p4delta - Summarize the differences between a Perforce project and local files.
p4delta [options] [file ...]
Summarizes the differences between a Perforce project and local files, showing the changes of the files themselves and of their contents. Added, changed, and deleted files are denoted with `+', `*', and `-' respectively. The number of lines are displayed.
Arguments may be either files or directories.
% p4delta
Lists the changed files.
% p4delta --execute
Lists the changed files, and executes the associated add and remove commands.
Files may be filtered by .p4ignore files, locate both in the user's home directory and locally, in each directory. For example:
*.bak *.class *.o *.out *~ .libs core
See http://www.loria.fr/~molli/cvs/doc/cvs_18.html#SEC170 for how this is used in CVS, from which this idea was taken.
If a file exists in the Perforce project but not locally, it is assumed that the file has been deleted, not that it may have been recently added by another user. The --confirm option can be used to deal with this situation.
Jeff Pace <jpace@incava.org>
Copyright (c) 2002, Jeff Pace.
All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the terms of the Lesser GNU Public License. See http://www.gnu.org/licenses/lgpl.html for more information.