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.
|