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