[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn import fails for remote repository only

From: Alexis Huxley <ahuxley_at_gmx.net>
Date: 2002-04-11 10:33:13 CEST

> > Then I have just the following in the apache2 config:
> >
> > <Location /svn/repos>
> ^^^^^^^^^^
> > DAV svn
> > SVNPath <repository_path>
> > </Location>
> >
> > Then as a normal user I ran:
> >
> > svn import http://localhost/repos/svn <sources_path> <repository_subdir>
> ^^^^^^^^^
>
> See the bits I underlined? ;)

Ok, it's sorted. May I suggest that in the INSTALL document (1)
the section in 'Configuring Apache for Subversion'

        <Location /svn/repos>
            DAV svn
            SVNPath /absolute/path/to/repository
        </Location>

is changed to:

        <Location /absolute/path/to/repository>
            DAV svn
            SVNPath /absolute/path/to/repository
        </Location>

And (2) the same in the example in the 'Running and testing' section.

To those who know, it may be clear that "/svn/repos" means the actual
repository path, but I made the - not stupid - assumption that
"/svn/path" was similar to a cgi-script or something, and merely
served to trigger SVN on the server side, and that it would receive
the path from the SVNPath field, and was therefore fixed text.

If the 'Location' and the path in the URL must match and specify the
path of the repository, then what is the 'SVNPath' for? Isn't there
a bit of duplication of information there? My assumption was that that
was not ;-)

Thanks for the help! Now to start playing ... :-)

Alexis

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 11 10:34:07 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.