On Aug 14, 2006, at 07:23, developer@wexwarez.com wrote:
> I created a repository in /var/www/svn.
[snip]
> i keep getting these errors when i try to
> import a test project like so:
>
> $ svn import test http://xx.xx.xx.xx/svn -m "test initial import"
> svn: PROPFIND request failed on '/svn'
> svn: PROPFIND of '/svn': 403 Forbidden (http://xx.xx.xx.xx)
>
> I tried this with ssl, without ssl, with authentication and
> without. I
> currently have no authentication set up and got the error above. I am
> configured like so:
>
> <Location /svn>
> DAV svn
> SVNParentPath /var/www/svn
> </Location>
>
> When i tried to import locally it seemed to work.
> # svn import project file:///var/www/svn -m "prj initial import"
> Adding project/trunk
> Adding project/trunk/file.java
> Adding project/branches
> Adding project/tags
> Adding project/tags/release1
> Adding project/tags/release1/file.java
[snip]
If you have a single repository (as in, you used "svnadmin create /
var/www/svn" to create it) then you should use SVNPath, not
SVNParentPath in the Apache directives.
<Location /svn>
DAV svn
SVNPath /var/www/svn
</Location>
-*-
SVNParentPath is for when you have several repositories all within
the same directory on the server, as in:
mkdir /var/www/svn
svnadmin create /var/www/svn/repo1
svnadmin create /var/www/svn/repo2
svnadmin create /var/www/svn/repo3
And then you would need to specify the repository name in the URL, e.g.
svn import test http://xx.xx.xx.xx/svn/repo2 -m "test initial import"
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 14 14:06:25 2006