I've got MAMP running (XAMP for OSX), and I'm trying to setup subversion.
When I go to the freshly created repository in my browser, I get:
<D:error>
<C:error/>
<m:human-readable errcode="2">
Could not open the requested SVN filesystem
</m:human-readable>
</D:error>
The repository is setup in ~/server/svn. My html/php files are also there (~/server/http), and it works fine. My basic httpd.conf setup:
<Location /svn>
DAV svn
SVNPath ~/server/svntest
(Authenticaton will be added later)
</Location>
I've allready chmod'ed everything to 777
drwxrwxrwx 9 gerrit staff 306 27 okt 2008 svn
Apache's errorlog does not show any errors.
How do I troubleshoot this?
Try running
svnadmin verify ~/svntest/svn
on the repository. If that reports errors, run:
svnadmin recover ~/svntest/svn
What is ~/server/svntest? The web server doesn't normally have a home dir or even shell access, try substituting it for a full path.
You can try using SVNParentPath instead of SVNPath if you are pointing to a folder having multiple repositories.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With