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

Pre-commit hooks

From: DePriest Richard 403 <richard.depriest_at_crackerbarrel.com>
Date: Wed, 19 Mar 2008 16:58:51 -0500

I have another question about pre-commit hooks. I have been trying to
get a pre-commit hook to process and not let anyone commit a change
without having a lock on the modified file. When I test my hook the
commit fails everytime. If I remove the pre-commit hook the commit will
work fine. I just figured I have something not coded correctly in my
hook or the perl scipt it calls.
After numerous tests, I have discovered a couple of things. It is
looking like th pre-commit hook is not executing correctly. The reason I
say that is because I coded a pre-commit hook with only an exit 0 line.
This hook causes the commit to fail. I am using the tortoise GUI.
Anybody out there got any ideas.
All ideas greatly appreciated.
Rick DePriest
Project Manager - Retail Systems
Cracker Barrel Old Country Stores, Inc.
Ph. (615) 443-9845
Email: rdepries_at_crackerbarrel.com
Received on 2008-03-19 22:59:10 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.