[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Do commit hooks work with the file:// protocol?

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 11 Feb 2011 19:40:21 +0200

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)
Received on 2011-02-11 18:54:13 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.