Re: pre-commit hook script help
the problem is that I am not a programmer and I have never seen a script
posted that can actually do the checking... I tried to find one on google or
a "how to program a hook script" one myself (with my limited knowledge)
On 11/10/06, Ryan Schmidt <firstname.lastname@example.org> wrote:
> On Nov 10, 2006, at 12:42, Phil wrote:
> > All I really need is something to set svn:needs-lock on all
> > commited files...
> > perhaps someone can point me in the right direction?
> > I am no programmer unfortunately... I am not too interested in
> > checking to see if the file has it set or not... I would rather
> > just set it to svn:needs-lock for everything...
> > is this possible at the server end? I know I can do this with auto-
> > props at the client side... but that is too risky...
> No, that's really not how it's done in Subversion. There is no way to
> force all files to be that way on the server side. The Subversion way
> to do it is:
> - Set up the clients to set the property on the desired files, e.g.
> with auto-props
> - Install a pre-commit hook to reject commits of files that do not
> have tho property
Received on Sat Nov 11 00:39:14 2006
This is an archived mail posted to the Subversion Users