[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: Ilan Yaniv <Ilan.Yaniv_at_timetoknow.org>
Date: Tue, 16 Dec 2008 15:34:46 +0200

When I changed that the script will become exe (perl2exe) all worked
out.
Now I added perl GUI. I want a messagebox to be poped out.

When I run the hook, the script get stuck, no messagebox shown no OK
button to continue.

Ilan Yaniv

-----Original Message-----
From: Erik Hemdal [mailto:erik_at_comprehensivepower.com]
Sent: Tuesday, December 16, 2008 3:32 PM
To: Ilan Yaniv
Cc: users_at_subversion.tigris.org
Subject: Re: perl hooks

Quoting Ilan Yaniv <Ilan.Yaniv_at_timetoknow.org>:

> 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 ?????

Hook scripts run without your normal PATH setup, so commands in your
script
can't be found unless you give a complete path to the command. The SVN
book
has a nice description of how it all works and why it's this way.

Erik

>
> Ilan Yaniv
> Configuration Management
> Phone: 03-7534333 ext. 5873
> Ilan.Yaniv_at_timetoknow.org
>
> ------------------------------------------------------
>
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageI
d=984934
>
> To unsubscribe from this discussion, e-mail:
> [users-unsubscribe_at_subversion.tigris.org].

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

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