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

Re: perl hooks

From: Andy Levy <andy.levy_at_gmail.com>
Date: Tue, 16 Dec 2008 09:15:08 -0500

On Tue, Dec 16, 2008 at 06:47, Ilan Yaniv <Ilan.Yaniv_at_timetoknow.org> wrote:
> So here is the thing.
>
> I have a perl script. It is running OK from command line
>
> But when I execute the script from hook (I run in command line svn
> commit...) nothing happens.
>
> Why ?????

Because on a Windows server, your pre-commit script must be
pre-commit.bat, pre-commit.exe or pre-commit.cmd. IOW, it must be an
executable, or a Windows batch file/CMD script which then calls your
Perl script.

BTW, you seem to have posted a large number of messages on this one
topic today. Please consider carefully before posting, and post your
complete message all at once. If you must "continue" a topic, please
reply to your original post, such that it all appears in one
discussion thread.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=985031

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-16 16:17:08 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.