From:             
Operating system: CentOS 5
PHP version:      5.3SVN-2011-05-31 (snap)
Package:          *General Issues
Bug Type:         Feature/Change Request
Bug description:SVN export Should take a URL as from

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 bug report at http://bugs.php.net/bug.php?id=54965&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=54965&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=54965&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=54965&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=54965&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=54965&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=54965&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=54965&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=54965&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=54965&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=54965&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=54965&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=54965&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=54965&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=54965&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=54965&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=54965&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=54965&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=54965&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=54965&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=54965&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=54965&r=mysqlcfg

Reply via email to