gwynne Sun Nov 9 22:34:07 2008 UTC Modified files: /SVNROOT run-conversion.php Log: don't array-to-string, ugh http://cvs.php.net/viewvc.cgi/SVNROOT/run-conversion.php?r1=1.30&r2=1.31&diff_format=u Index: SVNROOT/run-conversion.php diff -u SVNROOT/run-conversion.php:1.30 SVNROOT/run-conversion.php:1.31 --- SVNROOT/run-conversion.php:1.30 Sun Nov 9 22:32:32 2008 +++ SVNROOT/run-conversion.php Sun Nov 9 22:34:07 2008 @@ -7,7 +7,7 @@ // ----------------------------------------------------------------------------------------------------------------------------- // Constants -$version = substr('$Revision: 1.30 $', strlen('$Revision: '), -2); +$version = substr('$Revision: 1.31 $', strlen('$Revision: '), -2); $passes = array( 'processcvs', // Process CVS modules @@ -542,11 +542,13 @@ foreach ($rawTagList as $tag) { $realTag = substr($tag, 0, -1); $xml = run_command('exec svn info --xml file:///' . escapeshellarg($GLOBALS['options']['svnroot'] . '/php-src/php-src/tags/' . $realTag)); + $xml = implode("\n", $xml); $tagList[$realTag] = strtotime(substr($xml, strpos($xml, '<date>') + 6, strpos($xml, '</date>'))); } foreach ($rawBranchList as $branch) { $realBranch = substr($branch, 0, -1); $xml = run_command('exec svn info --xml file:///' . escapeshellarg($GLOBALS['options']['svnroot'] . '/php-src/php-src/branches/' . $realBranch)); + $xml = implode("\n", $xml); $branchList[$realBranch] = strtotime(substr($xml, strpos($xml, '<date>') + 6, strpos($xml, '</date>'))); }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php