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: 2012-07-29 16:58 UTC
From: michael at abouttheweb dot de Assigned:
Status: Open Package: svn (PECL)
PHP Version: 5.3.2 OS: Ubuntu 10.04 2.6.32-31-generic
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: michael at abouttheweb dot de
New email:
PHP Version: OS:

 

 [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
 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC