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

pre-commit hook scripts using batch file and Perl on windows

From: Scott Plumlee <scottplumlee_at_gmail.com>
Date: 2007-02-09 17:21:49 CET

I"m having problems getting a pre-commit hook script running.
Inspired by this bash script:
http://svn.haxx.se/users/archive-2005-12/0596.shtml

I'm a Perl newbie, so that part may be poorly written. I want to see
if a lock has been set on a file(s) before allowing a commit. The
batch file runs (as far as I can tell), but it doesn't appear that
Tortoise svn ever gets the error message from the batch file, as the
commit goes through each time without a lock.

In the hooks directory are the two attached files, one as a batch file
and the other as a perl script (renamed as I kept having problem
sending).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 9 17:22:31 2007

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.