#! @PERL@ -w ######################################################################## # # Copyright (c) 2000, 2001 by Donald Sharp # All Rights Reserved # # Some portions Copyright (c) 2002, 2003 by # Derek R. Price # & Ximbiot . # All rights reserved. # # Permission is granted to copy and/or distribute this file, with or # without modifications, provided this notice is preserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # ######################################################################## =head1 validate_repo.pl Script to check the integrity of the Repository. =head1 SYNOPSIS perldoc validate_repo.pl validate_repo.pl --help [--verbose!] validate_repo.pl [--verbose!] [--cvsroot=CVSROOT] [--exec=SCRIPT]... [--all-revisions!] [module]... =head1 DESCRIPTION This script will search through a repository and determine if any of the files in it are corrupted. This is normally accomplished by checking out all I revisions, where I revisions are defined as the smallest set which, when checked out, will cause each and every revision's integrity to be verified. This resolves to the most recent revision on each branch and the first and last revisions on the trunk. Please do not run this script inside of the repository itself. This will cause it too fail. =head1 OPTIONS =over =item C<--help> Print this very help text (or, with C<--verbose>, act like C). =item C<-a> or C<--all-revisions> Check out each and every revision rather than just the I ones. This flag is useful with C<--exec> to execute the C