I’m trying to build a project deployment tool, and part of it needs to export a repo from a working copy within PHP.
My directory structure is like
/
- dir1
- dir2
- versioned
and I want to export the ‘versioned’ directory. So I have
svn_export('/dir1/dir2/versioned', 'source');
but for some reason, I get this error:
svn_export(): svn error(s) occured 155007 (Path is not a working copy directory) '/dir1/dir2' is not a working copy 2 (No such file or directory) Can't open file '/dir1/dir2/.svn/entries': No such file or directory
So for some reason this is speaking about ‘dir2’, not ‘versioned’. Is there a reason for this? Is there something about this implementation I’m not getting?
Thanks!
Somehow I overlooked like 3 times that I was using a repo that didn’t exist anymore