diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-08-29 18:01:18 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-08-29 18:01:18 +0000 |
commit | 718996654b27d995ba64f45d11ab13cdb015805d (patch) | |
tree | 791bfd69ba905fb1cf2773745692433df9b90bbc | |
parent | ce50a165c784d71abf1b2f981be18f867787d972 (diff) |
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
-rwxr-xr-x | utils/NewNightlyTest.pl | 6 | ||||
-rwxr-xr-x | utils/NightlyTest.pl | 7 |
2 files changed, 2 insertions, 11 deletions
diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl index d59f1bc5d7..c3b51d5e8d 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 270753c21f..7b70ca08c1 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"; } |