Update for Subversion conversion:
authorReid Spencer <rspencer@reidspencer.com>
Tue, 26 Jun 2007 17:08:16 +0000 (17:08 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 26 Jun 2007 17:08:16 +0000 (17:08 +0000)
1. Fix comments for -usesvn and -svnurl options.
2. Fix default URL for SVN access.
3. Fix paths to accommodate "trunk" when checking out from SVN.

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

utils/NewNightlyTest.pl

index e42d1dc5e0fd1a4e76c7da7f34103db2085d4024..4b71a7a36954af2ee529a2cc9318ad8e446beb91 100755 (executable)
@@ -45,10 +45,10 @@ 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. With no
-#                   argument, use the standard repository. An argument specifies
-#                   the repository URL to use.
-#  -svnurl          Specify the SVN URL where LLVM can be found
+#  -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. 
 #  -target          Specify the target triplet
 #  -cflags          Next argument specifies that C compilation options that
 #                   override the default.
@@ -96,7 +96,7 @@ use Socket;
 ##############################################################
 my $HOME       = $ENV{'HOME'};
 my $SVNURL     = $ENV{"SVNURL"};
-$SVNURL        = 'svn://anon@hlvm.org:3691/llvm.svn' unless $SVNURL;
+$SVNURL        = 'https://llvm.org/svn/llvm-project' unless $SVNURL;
 my $CVSRootDir = $ENV{'CVSROOT'};
 $CVSRootDir    = "/home/vadve/shared/PublicCVS" unless $CVSRootDir;
 my $BuildDir   = $ENV{'BUILDDIR'};
@@ -520,9 +520,9 @@ if (!$NOCHECKOUT) {
   if ($USESVN) {
     my $SVNCMD = "$NICE svn co $SVNURL";
     if ($VERBOSE) {
-      print "( time -p $SVNCMD/llvm/trunk llvm; cd llvm/projects ; " .
+      print "( time -p $SVNCMD/llvm/trunk llvm; cd llvm/trunk/projects ; " .
             "$SVNCMD/llvm-test/trunk llvm-test ) > $COLog 2>&1\n";
-      system "( time -p $SVNCMD/llvm/trunk llvm; cd llvm/projects ; " .
+      system "( time -p $SVNCMD/llvm/trunk llvm; cd llvm/trunk/projects ; " .
             "$SVNCMD/llvm-test/trunk llvm-test ) > $COLog 2>&1\n";
     }
   } else {