From ece1f685a8899e458e41b1b50c5c914acd95e175 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Mon, 2 Jul 2007 06:19:57 +0000 Subject: [PATCH] Remove the last vestiges of -usesvn. Implement -usecvs just in case we need to go back to cvs for some reason. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37837 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/NewNightlyTest.pl | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl index f2d0c8d359a..2978f291f1b 100755 --- a/utils/NewNightlyTest.pl +++ b/utils/NewNightlyTest.pl @@ -45,10 +45,8 @@ use Socket; # -gccpath Path to gcc/g++ used to build LLVM # -cvstag Check out a specific CVS tag to build LLVM (useful for # testing release branches) -# -usesvn Check code out from a subversion repository. -# -svnurl Specify the SVN URL where LLVM can be found. Needs -usesvn -# to be useful. If -svnurl is not used but -usesvn is then -# the standard (UIUC) repository will be used. +# -usecvs Check code out from the (old) CVS Repository instead of from +# the standard Subversion repository. # -target Specify the target triplet # -cflags Next argument specifies that C compilation options that # override the default. @@ -170,7 +168,7 @@ while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) { else { $GCCPATH=""; } if (/^-cvstag/) { $CVSCOOPT .= " -r $ARGV[0]"; shift; next; } else { $CVSCOOPT="";} - if (/^-svnurl/) { $SVNURL = $ARGV[0]; shift; next; } + if (/^-usecvs/) { $USESVN = 0; } if (/^-target/) { $CONFIGUREARGS .= " --target=$ARGV[0]"; shift; next; } if (/^-cflags/) { $MAKEOPTS = "$MAKEOPTS C.Flags=\'$ARGV[0]\'";