I have a directory structure in my SVN repository which is pretty standard:
/project1
/trunk
/branches
/branch1
/branch2
...
/tags
/project2
/trunk
/branches
...
I’m using Apache with mod_dav_svn to host the repository.
I would like to prevent people from accidentally checking out the root of a project or the root of the entire repository, which needlessly downloads many, many gigabytes of files, and usually causes all kinds of problems.
You can use
mod_dontdothatfor this. See the docs: