php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59737 The return value of the svn_update function is incorrect
Submitted: 2011-04-28 09:41 UTC Modified: 2022-02-15 02:25 UTC
From: michael at abouttheweb dot de Assigned:
Status: Open Package: PECL (PECL)
PHP Version: 5.3.2 OS: Ubuntu 10.04 2.6.32-31-generic
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2011-04-28 09:41 UTC] michael at abouttheweb dot de
Description:
------------
The return value of the svn_update function seems to be incorrect. It should be the current revision number but it is always 1.

Reproduce code:
---------------
print svn_update($path, SVN_REVISION_HEAD, true);

Expected result:
----------------
The current revison number

Actual result:
--------------
1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-04-29 01:57 UTC] alan at akbkhome dot com
Code looks find for this, although it uses the depreciated 
api.

If there is a problem it's likely comming from the 
depreciated API.

needs a reasonable test script & patch if necessary
 [2012-07-29 16:58 UTC] felipe@php.net
-Summary: [need_test/need_patch]The return value of the svn_update function is incorrect +Summary: The return value of the svn_update function is incorrect
 [2022-02-15 02:22 UTC] alan_k@php.net
-Package: svn +Package: *General Issues -Block user comment: No +Block user comment: Yes
 [2022-02-15 02:25 UTC] alan_k@php.net
-Package: *General Issues +Package: PECL
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 02:01:30 2024 UTC