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

"svn update" does not work with SVNParentPath in location and 1.7-client (HTTPv2)

From: Sergey Skvortsov <skv_at_protey.ru>
Date: Wed, 16 Nov 2011 14:43:17 +0400

Hi!

"svn update" does not work with SVNParentPath in location and 1.7-client
(HTTPv2)

But it works with 1st-level repos, and works with 1.6 for all repos.
It was worked for 1.6 server and less.

Test environment on the server (apache-2.2 + subversion-1.7.1):

cd /usr/home/svn
svnadmin create leaf
mkdir foo
cd foo
svnadmin create bar

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>

Restart apache and run test on client (1.7.1):

1. Test "lead" repo:

svn co svn co http://host.name/svn/leaf
cd leaf
svn mkdir testdir
svn ci -m test

# It'ok

2. Test "bar" repo:

svn co http://host.name/svn/foo/bar
cd bar
svn mkdir testdir
svn ci -m test

# Fails:
svn: E175002: Commit failed (details follow):
svn: E175002: Server sent unexpected return value (500 Internal Server
Error) in response to POST request for '/svn/foo/bar/!svn/me'

In server log (httpd-error.log):

[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

-- 
Sergey Skvortsov
mailto: skv_at_protey.ru
Received on 2011-11-16 15:20:03 CET

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

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