Issue cvs co with -P option to prune empty directories. Remove the unnecessary
authorEvan Cheng <evan.cheng@apple.com>
Tue, 29 Aug 2006 18:01:18 +0000 (18:01 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 29 Aug 2006 18:01:18 +0000 (18:01 +0000)
update stage.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29955 91177308-0d34-0410-b5e6-96231b3b80d8

utils/NewNightlyTest.pl
utils/NightlyTest.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" ;
-}
 
 ##############################################################
 #
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";
 }