Issue cvs co with -P option to prune empty directories. Remove the unnecessary
[oota-llvm.git] / utils / NewNightlyTest.pl
index d59f1bc5d72d2ff62d8c233944a425a0fd0c56a8..c3b51d5e8de414037b815b39575bf929c7f7c078 100755 (executable)
@@ -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" ;
-}
 
 ##############################################################
 #