From 718996654b27d995ba64f45d11ab13cdb015805d Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Tue, 29 Aug 2006 18:01:18 +0000 Subject: [PATCH] Issue cvs co with -P option to prune empty directories. Remove the unnecessary update stage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29955 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/NewNightlyTest.pl | 6 +----- utils/NightlyTest.pl | 7 +------ 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl index d59f1bc5d72..c3b51d5e8de 100755 --- a/utils/NewNightlyTest.pl +++ b/utils/NewNightlyTest.pl @@ -488,7 +488,7 @@ my $CVSOPT = ""; # Use compression if going over ssh. $CVSOPT = "-z3" if $CVSRootDir =~ /^:ext:/; -my $CVSCMD = "$NICE cvs $CVSOPT -d $CVSRootDir co $CVSCOOPT"; +my $CVSCMD = "$NICE cvs $CVSOPT -d $CVSRootDir co -P $CVSCOOPT"; if (!$NOCHECKOUT) { if ( $VERBOSE ) { print "CHECKOUT STAGE:\n"; @@ -500,10 +500,6 @@ if (!$NOCHECKOUT) { ChangeDir( $BuildDir , "CVS Checkout directory") ; } ChangeDir( "llvm" , "llvm source directory") ; -if (!$NOCHECKOUT) { - if ( $VERBOSE ) { print "UPDATE STAGE\n"; } - system "$NICE cvs update -PdRA >> $CVSLog 2>&1" ; -} ############################################################## # diff --git a/utils/NightlyTest.pl b/utils/NightlyTest.pl index 270753c21fc..7b70ca08c14 100755 --- a/utils/NightlyTest.pl +++ b/utils/NightlyTest.pl @@ -409,7 +409,7 @@ ChangeDir( $BuildDir, "CVS checkout directory" ); my $CVSOPT = ""; # Use compression if going over ssh. $CVSOPT = "-z3" if $CVSRootDir =~ /^:ext:/; -my $CVSCMD = "$NICE cvs $CVSOPT -d $CVSRootDir co $CVSCOOPT"; +my $CVSCMD = "$NICE cvs $CVSOPT -d $CVSRootDir co -P $CVSCOOPT"; if (!$NOCHECKOUT) { if ( $VERBOSE ) { print "CHECKOUT STAGE\n"; } system "( time -p $CVSCMD llvm; cd llvm/projects ; " . @@ -419,11 +419,6 @@ if (!$NOCHECKOUT) { ChangeDir( "llvm" , "llvm source directory") ; -if (!$NOCHECKOUT) { - if ( $VERBOSE ) { print "UPDATE STAGE\n"; } - system "$NICE cvs update -PdRA >> $CVSLog 2>&1" ; -} - if ( $Template eq "" ) { $Template = "$BuildDir/llvm/utils/NightlyTestTemplate.html"; }