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 >>>d

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 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

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

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

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 > 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

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 wrote: > 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,