|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-11-03 12:18 UTC] a dot vi at laposte dot net
-Status: Open
+Status: Closed
[2011-11-03 12:18 UTC] a dot vi at laposte dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 12 03:00:01 2025 UTC |
Description: ------------ Hi, I'm trying to use svn_status. It seems to fail when using SVN_SHOW_UPDATES. The function returns "false". Here's my code: $status = svn_status(realpath('/tank/www/prod'), SVN_SHOW_UPDATES); //returns false When I issued: #root@ns38:/# svn status -u /tank/www/prod/ I receive 32 lines of outdated files. More information: Subversion command-line client, version 1.6.12. PECL: svn-1.0.1 Libsvn-dev: Version: 1.6.12dfsg-4ubuntu2.1 Thks Test script: --------------- $status = svn_status(realpath('/tank/restovisio/prod')); if (is_array($status) && count($status) > 0) { print_r($status); } else { echo 'FAILED'; var_dump($status); } // OUTPUT: // bool(false) Expected result: ---------------- /tank/www/prod/public/svn.php /tank/www/prod/public/index.php ... /tank/www/prod Actual result: -------------- bool(false)