Bostjan Skufca <bost...@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@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@21
9486 2011-11-14T09:48:08.930591Z 127.0.0.1 pm repo commit r22


-- 
Philip

Reply via email to