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
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:

Further comment on this bug is unnecessary.

 

 [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

Pull Requests

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: Sun Oct 06 06:01:27 2024 UTC