Re: Windows hook scripts
From: Greg Thomas <thomasgd_at_omc.bt.co.uk>
Date: 2005-09-20 10:35:18 CEST
On Mon, 19 Sep 2005 11:19:34 -0400 (EDT), plmrsrch@plmresearch.com
>OK, I've searched high and low for some _good_ examples of windows .bat
FWIW, I have the following pre-commit.bat script that launches any
set PERL=C:\Perl\bin\perl.exe
for %%I in ("%~dp0/pre-commit-*.pl") do %PERL% %%I %1 %2 & if ERRORLEVEL 1 set EXIT_CODE=1
exit %EXIT_CODE%
It's easy enough to change for post-commit hooks, etc. - that's left
HTH,
Greg
-- This post represents the views of the author and does not necessarily accurately represent the views of BT. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.orgReceived on Tue Sep 20 10:38:15 2005 |
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.