From be39e43d33fc1436cff6d07ce328068fdcf002d4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 9 Jan 2004 18:39:04 +0000 Subject: [PATCH] Fix annoying warnings. W doesn't have a revision number git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10736 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/NightlyTest.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/NightlyTest.pl b/utils/NightlyTest.pl index b1e907f8c7c..37d6ede3f14 100755 --- a/utils/NightlyTest.pl +++ b/utils/NightlyTest.pl @@ -281,8 +281,8 @@ foreach $File (@CVSHistory) { my ($Type, $Date, $UID, $Rev, $Filename); if ($File =~ /([AMRUGC]) ($DateRE) ([^ ]+) +([^ ]+) +([^ ]+) +([^ ]+)/) { ($Type, $Date, $UID, $Rev, $Filename) = ($1, $2, $3, $4, "$6/$5"); - } elsif ($File =~ /([W]) ($DateRE) ([^ ]+) +([^ ]+) +([^ ]+)/) { - ($Type, $Date, $UID, $Rev, $Filename) = ($1, $2, $3, $4, "$6/$5"); + } elsif ($File =~ /([W]) ($DateRE) ([^ ]+) +([^ ]+)/) { + ($Type, $Date, $UID, $Rev, $Filename) = ($1, $2, $3, "", "$5/$4"); } elsif ($File =~ /([O]) ($DateRE) ([^ ]+) +([^ ]+)/) { ($Type, $Date, $UID, $Rev, $Filename) = ($1, $2, $3, "", "$4/"); } else {