p4delta - summarizes Perforce changes
 
News
1.3.2 Released
Tuesday, 02 September 2003 Version 1.3.2 has been released. This version includes improved handling for when the Perforce environment is not correctly set up.
Description

p4delta summarizes the difference between a Perforce depot/repository project and its local version. It detects files that have been added and removed, and of existing files it counts the number of lines that have been added, deleted, and changed. It filters project changes by using .p4ignore files, both system-wide and locally. A .p4ignore file contains names and patterns of files and directories that are to be excluded from Perforce, in the same way as .cvsignore files work for CVS. See here for more information about this concept.

An example .p4ignore file:

    *$
    *.a
    *.bak
    *.class
    *.elc
    *.exe
    *.o
    *.obj
    *.old
    *.orig
    *.so
    *~
    core
    logs
    tags

Via the --execute option, p4delta can also perform the related operations with Perforce, that is, it can add, edit and remove the appropriate files. Again, .p4ignore files are honored. Thus, "p4delta --execute" will add all new files to the Perforce depot/repository.

Example

This example just happens to be against the p4delta project itself.


total    added    changed  deleted  file
=======  =======  =======  =======  ====================
    208      208        0        0  + incava.css
    176      176        0        0  + index.php
      2        2        0        0  * p4delta
    230      230        0        0  + p4delta.1
     30       30        0        0  + p4delta.css
    136      136        0        0  + p4delta.html
    112      112        0        0  + p4delta.pod
     32       32        0        0  + p4delta.spec
-------  -------  -------  -------  --------------------
    926      926        0        0  Total

Documentation

The man page, as HTML, may be viewed here.

Contact

Feedback is very appreciated.

Bug reports and feature requests should be submitted via the project page at SourceForge.

email: Jeff Pace.

SourceForge Logo

Download
Current version
Version Notes
p4delta-1.3.2-1.noarch.rpm
p4delta-1.3.2-1.src.rpm
p4delta-1.3.2.tar.gz
To Do / In Progress

A similar program for CVS exists here.