aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-06-10 07:44:28 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-06-10 07:44:28 +0000
commit43f38677f565a485e80e9254ad08e955e1bf0b73 (patch)
tree75d8f78ea073715868769205aba14636d4d63bc1
parent577aec14288b86ab1fb07e164375ebc7d3038cb7 (diff)
Allow dates with slashes in them in $DateRE.
Don't match on $Filename (which will be unset) if we hit 'UNMATCHABLE:'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14112 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-xutils/NightlyTest.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/NightlyTest.pl b/utils/NightlyTest.pl
index cf7444a8ea..791a12ea85 100755
--- a/utils/NightlyTest.pl
+++ b/utils/NightlyTest.pl
@@ -430,7 +430,7 @@ if ($VERBOSE) { print "CVS HISTORY ANALYSIS STAGE\n"; }
# stuff is stored.
my (%AddedFiles, %ModifiedFiles, %RemovedFiles, %UsersCommitted, %UsersUpdated);
-my $DateRE = "[-:0-9 ]+\\+[0-9]+";
+my $DateRE = '[-/:0-9 ]+\+[0-9]+';
# Loop over every record from the CVS history, filling in the hashes.
foreach $File (@CVSHistory) {
@@ -443,6 +443,7 @@ foreach $File (@CVSHistory) {
($Type, $Date, $UID, $Rev, $Filename) = ($1, $2, $3, "", "$4/");
} else {
print "UNMATCHABLE: $File\n";
+ next;
}
# print "$File\nTy = $Type Date = '$Date' UID=$UID Rev=$Rev File = '$Filename'\n";