php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #54965 SVN export Should take a URL as from
Submitted: 2011-05-31 17:29 UTC Modified: 2011-05-31 18:55 UTC
From: cleung at draper dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.3SVN-2011-05-31 (snap) OS: CentOS 5
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: cleung at draper dot com
New email:
PHP Version: OS:

 

 [2011-05-31 17:29 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.

---
From manual page: http://www.php.net/function.svn-export#Description
---



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-05-31 18:55 UTC] pajoye@php.net
-Status: Open +Status: Bogus
 [2011-05-31 18:55 UTC] pajoye@php.net
Please report pecl's svn bug at http://pecl.php.net/svn
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Dec 03 22:00:01 2025 UTC