From: Brian Gaeke Date: Thu, 10 Jun 2004 07:44:28 +0000 (+0000) Subject: Allow dates with slashes in them in $DateRE. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=43f38677f565a485e80e9254ad08e955e1bf0b73;p=oota-llvm.git 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 --- diff --git a/utils/NightlyTest.pl b/utils/NightlyTest.pl index cf7444a8eac..791a12ea858 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";