|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2010-04-22 10:36 UTC] frederic dot hardy at mageekbox dot net
Description:
------------
svn_info() seems does not support URL format to check infos about a repository.
Reproduce code:
---------------
<?php
var_dump(svn_info('http://svn.php.net/repository/php/php-src/trunk'));
?>
Expected result:
----------------
array(
'Path' => 'trunk',
'URL' => 'http://svn.php.net/repository/php/php-src/trunk',
'Repository Root' => 'http://svn.php.net/repository',
'Repository UUID' => 'c90b9560-bf6c-de11-be94-00142212c4b1',
'Revision' => 298319,
'Node Kind' => 'directory',
'Last Changed Author' => 'felipe',
'Last Changed Rev' => 298319,
'Last Changed Date' => '2010-04-22 15:28:53 +0200 (Thu, 22 Apr 2010)'
)
Actual result:
--------------
Nothing.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 03:00:02 2025 UTC |
can you try the version in subversion svn.php.net/pecl/svn/trunk seems to work fine for me. php -r 'dl("svn.so");print_r(svn_info("http://svn.php.net/repositor y/pecl/svn/trunk"));' Array ( [0] => Array ( [path] => trunk [url] => http://svn.php.net/repository/pecl/svn/trunk [revision] => 298403 [kind] => 2 [repos] => http://svn.php.net/repository [last_changed_rev] => 298152 [last_changed_date] => 2010-04- 19T02:38:19.394554Z [last_changed_author] => alan_k )