cvs: SVNROOT / run-conversion.php

[email protected] ("Gwynne Raskind") Fri, 03 Jul 2009 06:52:56 -0000
Newsgroups svn.migration
Message-ID <cvsgwynne1246603976@cvsserver>
gwynne		Fri Jul  3 06:52:56 2009 UTC

  Modified files:              
    /SVNROOT	run-conversion.php 
  Log:
  run a checkout of SVNROOT as part of the install phase
  
http://cvs.php.net/viewvc.cgi/SVNROOT/run-conversion.php?r1=1.65&r2=1.66&diff_format=u
Index: SVNROOT/run-conversion.php
diff -u SVNROOT/run-conversion.php:1.65 SVNROOT/run-conversion.php:1.66
--- SVNROOT/run-conversion.php:1.65	Fri Jul  3 06:35:16 2009
+++ SVNROOT/run-conversion.php	Fri Jul  3 06:52:55 2009
@@ -7,7 +7,7 @@
 
 // -----------------------------------------------------------------------------------------------------------------------------
 // Constants
-$version = substr('$Revision: 1.65 $', strlen('$Revision: '), -2);
+$version = substr('$Revision: 1.66 $', strlen('$Revision: '), -2);
 
 $passes = array(
     'svncreate',        // Create various SVN repositories
@@ -453,6 +453,9 @@
 
     $svnPath = $GLOBALS['options']['svnroot'];
 
+    v(2, "Checking out SVNROOT...\n");
+    run_command("svn checkout " . escapeshellarg("file://{$GLOBALS['options']['svnroot']}/SVNROOT/trunk") . ' ' . escapeshellarg("{$svnPath}/SVNROOT"));
+    
     v(2, "Installing start-commit hook...\n");
     @unlink("{$svnPath}/repository/hooks/start-commit");
     symlink("{$svnPath}/SVNROOT/start-commit", "{$svnPath}/repository/hooks/start-commit");