Question

I would like to disable for a while access to one of my repositories. Lets call this "repo1". Im using tortoise and after I commented out whole part responsible for repo1 in my subversion.conf file (apache) on the server Im still able to make tortoise updates. Which is weird because I can't reach that repo through browser, or I can't create new repo with this address. Is there something else I have to do besides that conf file?

Was it helpful?

Solution

This is normally done using hook scripts.

Try something like this as a pre-commit hook:

#!/bin/sh 

echo "Repository is currently read only." >&2
exit 1

OTHER TIPS

You can use authz file for restricting access to the repository .

[/]

* = 

You need to point your AuthzSVNAccessFile variable(within httpd.conf) to authz file location.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top