php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #59795 SVN export Should take a URL as from
Submitted: 2011-05-31 13:05 UTC Modified: 2011-05-31 22:40 UTC
From: cleung at draper dot com Assigned:
Status: Not a bug Package: svn (PECL)
PHP Version: 5_3 SVN-2011-05-31 (dev) OS: CentOS 5
Private report: No CVE-ID: None
 [2011-05-31 13:05 UTC] cleung at draper dot com
Description:
------------
From command line, I can perform the following "svn export 
http://url/abc.doc -r5" and it will export abc.doc revision
5 to the current directory. So when I attempt to do 
something like this in php: 
"svn_export('http://url/abc.doc', '/local/tmp/abc.doc', 5)". 
I get an error message: Warning: svn_export() [function.svn-
export]: svn error(s) occured 155007 (Path is not a working 
copy directory) 'http://url' is not a working copy 2 (No 
such file or directory) 'http://url' does not exist in 
/home/apache/htdocs/export.php on line xx

Just wondering can the fromString be also a fromURL and 
check out a file/directory from the svn without having the 
project checked out before hand. The command line for SVN 
already have this functionality.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-05-31 22:40 UTC] alan at akbkhome dot com
Sorry, but your problem does not imply a bug in PECL itself.  For a
list of more appropriate places to ask for help using PECL, please
visit http://pecl.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PECL.

Please read the fine manual...
http://hk2.php.net/svn_export
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 10 13:01:27 2024 UTC