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

Re: AW: Unable to delete directory in repository, server version 1.7.1

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 14 Nov 2011 09:49:05 +0000

Bostjan Skufca <bostjan_at_a2o.si> writes:

> Nope, first step already fails (commit 3) if there are "[/]\n* = r" lines
> present in authz file.
>
> It works if I create authz file like this (note the usage of rw everywhere):
> [/A/B]
> pm = rw
>
> [/X/Y]
> pm = rw
> ---------------------------------
>
>
> It DOES NOTwork if I create authz file like this:
> [/A/B]
> pm = rw
>
> [/X/Y]
> pm = r
> ---------------------------------
>
>
> Any further ideas?

Use "--log-file log.txt" when you start svnserve and then try the
failing copy. On my Linux machine with:

$ cat repo/conf/authz
[/A/B]
pm = rw
[/]
pm = r

$ svn cp -mm svn://localhost/repo/X svn://localhost/repo/A/B/C
Committed revision 22

$ cat log.txt
9486 2011-11-14T09:48:08.909530Z 127.0.0.1 - repo open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) /X/Y SVN/1.7.1-dev -
9486 2011-11-14T09:48:08.910096Z 127.0.0.1 - repo get-latest-rev
9486 2011-11-14T09:48:08.910211Z 127.0.0.1 - repo get-latest-rev
9486 2011-11-14T09:48:08.910339Z 127.0.0.1 - repo get-mergeinfo (/X/Y) inherited
9486 2011-11-14T09:48:08.910587Z 127.0.0.1 - repo reparent /X/Y
9486 2011-11-14T09:48:08.910675Z 127.0.0.1 - repo reparent /A/B
9486 2011-11-14T09:48:08.910743Z 127.0.0.1 - repo reparent /X/Y
9486 2011-11-14T09:48:08.911190Z 127.0.0.1 pm repo check-path /X/Y_at_21
9486 2011-11-14T09:48:08.911633Z 127.0.0.1 pm repo reparent /A/B
9486 2011-11-14T09:48:08.911712Z 127.0.0.1 pm repo check-path /A/B/C_at_21
9486 2011-11-14T09:48:08.930591Z 127.0.0.1 pm repo commit r22

-- 
Philip
Received on 2011-11-14 10:49:46 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.