cvs: SVNROOT / run-conversion.php

[email protected] ("Gwynne Raskind")
Newsgroups svn.migration
Message-ID <cvsgwynne1228582127@cvsserver>
gwynne		Sat Dec  6 16:48:47 2008 UTC

  Modified files:              
    /SVNROOT	run-conversion.php 
  Log:
  no more cleanup phase, use original CVS root when checking link age
  
http://cvs.php.net/viewvc.cgi/SVNROOT/run-conversion.php?r1=1.53&r2=1.54&diff_format=u
Index: SVNROOT/run-conversion.php
diff -u SVNROOT/run-conversion.php:1.53 SVNROOT/run-conversion.php:1.54
--- SVNROOT/run-conversion.php:1.53	Sat Dec  6 16:41:10 2008
+++ SVNROOT/run-conversion.php	Sat Dec  6 16:48:47 2008
@@ -7,13 +7,12 @@
 
 // -----------------------------------------------------------------------------------------------------------------------------
 // Constants
-$version = substr('$Revision: 1.53 $', strlen('$Revision: '), -2);
+$version = substr('$Revision: 1.54 $', strlen('$Revision: '), -2);
 
 $passes = array(
     'processcvs',       // Process CVS modules
     'svncreate',        // Create various SVN repositories
     'cvs2svn',          // Run conversion for each repository
-    'cleanup',          // Preform renaming and removes for each repo
     'link',             // Setup svn:externals
     'install',          // Install hook scripts, authz databases, etc.
 );
@@ -446,7 +445,7 @@
     $props = array();
     
     foreach ($links as $link) {
-        $info = lstat("{$GLOBALS['temp_path']}/cvsrepo/php/php-src/ext/{$link}");
+        $info = lstat("{$GLOBALS['options']['cvsroot']}/php-src/ext/{$link}"); // Use the original CVS root here so we get proper timestamps
         $createDate = $info['ctime'];
         foreach ($tagList as $tag => $tagDate) {
             $path = 'tags' . DIR_SEP . $tag . DIR_SEP . 'ext';
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.