Edit report at http://bugs.php.net/bug.php?id=54621&edit=1
ID: 54621 Updated by: paj...@php.net Reported by: michael at abouttheweb dot de Summary: The return value of the svn_update function is incorrect -Status: Open +Status: Bogus Type: Bug Package: Unknown/Other Function Operating System: Ubuntu 10.04 2.6.32-31-generic PHP Version: 5.3.6 Block user comment: N Private report: N New Comment: Please report bug for pecl's extension at pecl.php.net/svn Previous Comments: ------------------------------------------------------------------------ [2011-04-28 15:23:16] michael at abouttheweb dot de Description: ------------ --- >From manual page: http://www.php.net/function.svn-update#Rückgabewerte --- The return value of the svn_update function is incorrect. It should be the current revision but it seems to me, that the return value is always 1. Test script: --------------- print svn_update($path, SVN_REVISION_HEAD, true); Expected result: ---------------- The current revison number Actual result: -------------- 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54621&edit=1