Req #54965 [Opn->Bgs]: SVN export Should take a URL as from
Edit report at http://bugs.php.net/bug.php?id=54965&edit=1
ID: 54965
Updated by: pajoye@php.net
Reported by: cleung at draper dot com
Summary: SVN export Should take a URL as from
-Status: Open
+Status: Bogus
Type: Feature/Change Request
Package: *General Issues
Operating System: CentOS 5
PHP Version: 5.3SVN-2011-05-31 (snap)
Block user comment: N
Private report: N
New Comment:
Please report pecl's svn bug at http://pecl.php.net/svn
Previous Comments:
------------------------------------------------------------------------
[2011-05-31 17:29:03] 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
---
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=54965&edit=1
Thread (2 messages)