s/"svn update"/"svn commit"/

On 16.11.2011 18:31, Stefan Sperling wrote:
On Wed, Nov 16, 2011 at 02:43:17PM +0400, Sergey Skvortsov wrote:
Configuration for Apache:

<Location /svn>
         DAV svn
         SVNParentPath /usr/home/svn
        SVNListParentPath on
</Location>

<Location /svn/foo>
         DAV svn
         SVNParentPath /usr/home/svn/foo
         SVNListParentPath on
</Location>

[Wed Nov 16 10:32:58 2011] [error] [client 10.10.10.10]
(20014)Internal error: Can't open file
'/usr/home/svn/foo/foo/format': No such file or directory

You are nesting locations. This isn't a valid configuration because it
leads to ambiguity when splitting a URL into the part which is outside
of the repository and the part which is inside the repository.

Why this configuration is not valid?
It worked in 1.6 servers. It seems like regression.

You need something like this instead:

  <Location /svn/bar>
  ...
  </Location>

  <Location /svn/foo>
  ...
  </Location>

I want to avoid use SVNPath for every leaf repo in the root.
SVNParentPath is intended for such purpose.

Also I want to use SVNListParentPath to autogenerate normal listing. It's impossible with multiple SVNPath.

Please note that problem is only with "commit". Other commands work just fine.

So I suppose it is bug.

--
Sergey Skvortsov
mailto: s...@protey.ru

Reply via email to