Re: Wanted: pre-commit hook to prevent commits to externals definition

2010-06-07 Thread Lorenz
David Aldrich wrote: Please can anyone point me to an example of a svn pre-commit hook that prevents commits to files that are members of an externals definition? We want to allow such files to be committed only from within the external directory, i.e. where they originate from. As long as the

Re: Wanted: pre-commit hook to prevent commits to externals definition

2010-06-07 Thread Daniel Becroft
On Mon, Jun 7, 2010 at 6:52 PM, Lorenz loren...@yahoo.com wrote: David Aldrich wrote: Please can anyone point me to an example of a svn pre-commit hook that prevents commits to files that are members of an externals definition? We want to allow such files to be committed only from within the

Re: Wanted: pre-commit hook to prevent commits to externals definition

2010-06-07 Thread Lorenz
Daniel Becroft wrote: Lorenz wrote: David Aldrich wrote: Please can anyone point me to an example of a svn pre-commit hook that prevents commits to files that are members of an externals definition? We want to allow such files to be committed only from within the external directory, i.e. where

RE: Wanted: pre-commit hook to prevent commits to externals definition

2010-06-04 Thread David Aldrich
Hi Ryan and Daniel Right. I don't think the server would be able to tell that a commit came from a working copy that, on the client side, had been created by an externals definition. I think it all looks the same to the server so I don't think such a hook script can be implemented. Thank you

Wanted: pre-commit hook to prevent commits to externals definition

2010-06-03 Thread David Aldrich
Hi Please can anyone point me to an example of a svn pre-commit hook that prevents commits to files that are members of an externals definition? We want to allow such files to be committed only from within the external directory, i.e. where they originate from. Best regards David

Re: Wanted: pre-commit hook to prevent commits to externals definition

2010-06-03 Thread Daniel Becroft
On Fri, Jun 4, 2010 at 12:12 AM, David Aldrich david.aldr...@eu.nec.comwrote: Hi Please can anyone point me to an example of a svn pre-commit hook that prevents commits to files that are members of an externals definition? We want to allow such files to be committed only from within the

Re: Wanted: pre-commit hook to prevent commits to externals definition

2010-06-03 Thread Ryan Schmidt
On Jun 3, 2010, at 18:34, Daniel Becroft wrote: On Fri, Jun 4, 2010 at 12:12 AM, David Aldrich david.aldr...@eu.nec.com wrote: Please can anyone point me to an example of a svn pre-commit hook that prevents commits to files that are members of an externals definition? We want to allow