>>>>> Steinar Bang <s...@dod.no>:

>>>>> Steinar Bang <s...@dod.no>:
>> I tried adding this to /svn/conf/authz:

>> [/trunk/someprog]
>> * =

>> (everything else in the file are comments)
[snip!]
> So I uncommented this line in the sample svnserve.conf:
> # authz-db = authz

> And then svnsync pulled the entire repo.  Or at least: it didn't stop at
> revision 683.

> But the resulting repo doesn't seem to be functional:
>  sb@edwards:~$ svn ls file:///tmp/newrepo/svn/
>  sb@edwards:~$ svn ls file:///tmp/newrepo/svn/trunk
>  svn: URL 'file:///tmp/newrepo/svn/trunk' non-existent in that revision

More fine print I didn't read, in:
 http://svnbook.red-bean.com/nightly/en/svn.serverconfig.pathbasedauthz.html

  "By default, nobody has any access to the repository at all. That
   means that if you're starting with an empty file, you'll probably
   want to give at least read permission to all users at the root of the
   repository."

So now the /svn/conf/authz file contains:
[/]
* = r

[/trunk/someprog]
* =

And then I'm able to see contents in the cloned repository:
 sb@edwards:~$ svn ls file:///tmp/newrepo/svn/
 branches/
 tags/
 trunk/

Thanks, Daniel!

Reply via email to