Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.5.2

Bug #3459 $svn_path must be automatically obtained
Submitted: 2005-02-14 11:55 UTC
From: mario dot lopes at fe dot up dot pt Assigned:
Status: Bogus Package: VersionControl_SVN
PHP Version: Irrelevant OS: Any
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 40 - 34 = ?

 
 [2005-02-14 11:55 UTC] mario dot lopes at fe dot up dot pt
Description: ------------ $svn_path cannot be obtained this way. For example, on my system (SuSE 9.2) svn is located on /usr/bin. For this reason, I wasn't able to authenticate, until I found this. Reproduce code: --------------- /** * Location of the svn client binary installed as part of Subversion * * @var string $svn_path * @access public */ var $svn_path = '/usr/local/bin/svn';

Comments

 [2005-02-14 12:05 UTC] clay
This isn't a bug. You simply need to set the svn_path property in your instance to the path to svn on your system. For example: <?php require_once 'VersionControl/SVN.php'; $options = array( 'url' => 'https://www.example.com/repos', 'path' => 'your_project', 'username' => 'your_login', 'password' => 'your_password', 'svn_path' => '/usr/bin/svn' ); // Run a log command $svn = VersionControl_SVN::factory('log', $options); print_r($svn->run()); ?>