The svn book states that "svnsync does gracefully mirror repositories in which the user as whom it authenticates has only partial read access. It simply copies only the bits of the repository that it is permitted to see." Unfortunately, we haven't been able to get this to work properly.
The authz on our source repository is set up to allow read access to only a certain subset of files from anonymous users, and this works fine with "svn co". Now, we want to mirror only this subset, so we set up a mirror repository as described in the book (syncuser user, pre-revprop-change and startcommit hook scripts, etc.).
"svnsync sync" works fine until it gets to files to which syncuser doesn't have read access. At that point, it dies with a "svnsync: Path ... not present" error in v1.4.2, or "svnsync: subversion/libsvn_ra_svn/editorp.c:367: ra_svn_close_edit: Assertion `!eb->got_status' failed" in v1.5.1 and 1.5.4.
Thanks for any suggestions!