Change 20868

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler committed this change into / under Review 20840
View Review
Download .zip
Add '-recent' flag to p4verify.sh to verify only recent changes.

Usage info is added with '-h' and '-man' flags.

This change involved changing the command line parsing to accept
the <instance> positional parameter and '-recent' flag, as well
as standard '-v' and '-D' flags.

This change also should reduce memory requirement in cases where
there are a large number of verify errors.  This was done by
combining greps and tossing 'grep' output to /dev/null, using only
the grep exit code to determine if BAD/MISSING (etc.) appear in the
log.

Added a Version id.  (Need to avoid +k due to the way SDP files
move around from server to server).  This must be updated manually.
  • Files 1
  • Comments 0
1 edited 0 added 0 deleted
guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin/p4verify.sh#14
Loading...
Tip: Use n and p to cycle through the changes.