Jonathan Reeve wrote on Tue, Feb 08, 2011 at 17:19:54 +0000: > I want to be able to prevent commits to a repository in some circumstances. > I've set up a local svn repository to test, but my commit hook doesn't get > called. > > I'm using the file:// protocol. Should hooks work with that? >
Yes unless your users use a patched svn(1) client that bypasses the hooks. (it's trivial to write a client that doesn't call hooks for file://; the default client does call hooks)