From: Operating system: Ubuntu Server PHP version: 5.3.8 Package: svn Bug Type: Bug Bug description:SVN Status with show updates not working
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) -- Edit bug report at https://bugs.php.net/bug.php?id=60207&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60207&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60207&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60207&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=60207&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60207&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=60207&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=60207&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=60207&r=needscript Try newer version: https://bugs.php.net/fix.php?id=60207&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=60207&r=support Expected behavior: https://bugs.php.net/fix.php?id=60207&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=60207&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=60207&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=60207&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60207&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=60207&r=dst IIS Stability: https://bugs.php.net/fix.php?id=60207&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=60207&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=60207&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=60207&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=60207&r=mysqlcfg