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

Re: Post-commit client script not working

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 16 Apr 2010 12:58:40 +0200

On 16.04.2010 10:14, Simon Large wrote:
> On 16 April 2010 08:28, Robby Ceyssens<Robby_at_livios.be> wrote:
>> I'm trying to setup a client side post-commit script (post-commit.bat) in
>> Tortoise (version 1.6.7) on Windows 7 x64. I followed the docs about
>> configuring a client side post-commit script but the script doesn't get
>> executed. No error is displayed either.
>
> Are you sure it is not executing? AFAIK only output to stderr is
> displayed and pause doesn't work (I have tried that too).
>
> Try inserting commands like this:
>
> echo Path = %tsvnPath%>&2
> echo %tsvnPath%> C:\temp\test.txt
>
> You could also try it (initially) as a pre-commit script to make it
> easier to test without an actual commit.

And depending on your system settings, you might have to execute not the
bat file but cmd.exe instead:
cmd /c file.bat

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2585068
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-04-16 12:58:51 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.