php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #54621 The return value of the svn_update function is incorrect
Submitted: 2011-04-28 15:23 UTC Modified: 2011-04-28 15:34 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:2 (66.7%)
From: michael at abouttheweb dot de Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.3.6 OS: Ubuntu 10.04 2.6.32-31-generic
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: michael at abouttheweb dot de
New email:
PHP Version: OS:

 

 [2011-04-28 15:23 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-04-28 15:34 UTC] pajoye@php.net
-Status: Open +Status: Bogus
 [2011-04-28 15:34 UTC] pajoye@php.net
Please report bug for pecl's extension at pecl.php.net/svn
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 14:04:04 2025 UTC