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

Re: post-commit script on windows 2000

From: <Rafael.EgidoArteaga_at_telefonica.es>
Date: 2006-01-05 12:23:10 CET

Johan Appelgren <johan.appelgren@gmail.com>
05/01/2006 10:56

        Para: Subversion Mailing List <users@subversion.tigris.org>
        Asunto: Re: post-commit script on windows 2000

On 1/5/06, Rafael.EgidoArteaga@telefonica.es
<Rafael.EgidoArteaga@telefonica.es> wrote:
> Hi.
> Iīm trying tu use the post-commit script on windows 2000 and y canīt
make it
> to execute.
> I have tryed with post-commit.bat and post-commit.exe.
> The post-commit only does the following thing:
> net send <ip> <message>
> I donīt use any path or argument in de post-commit
> The post commit is in the hooks dir of my repository.
> Any idea of why I canīt execute the post-commit?

Because net.exe isn't in your path when your post-commit is executed.
See <http://subversion.tigris.org/faq.html#hook-debugging>. You need
to setup the PATH variable yourself in your hookscript or use absolute


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Mensaje analizado y protegido, tecnologia antivirus www.trendmicro.es

Thank you Johan.
I have fixed mi mistake.
I thougth my repository was in a dir, but it was in a different one, also
I have fixed my path inside the .bat.
Also I have to generate a .exe from my .bat

Now I can start to do my work.
Received on Thu Jan 5 12:26:32 2006

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.