I need to maintain a mirrored repository for users(read-only). I need to block all commits except the commit from svnsync. I think I can use a pre-commit hook to block commits other than the svnsync?
How can I do this?
Why use a hook? Can't you just use the authz file to set appropriate permissions?
E.g.
[/]
svnsync = rw
* = r
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With