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

Re: Client side script hooks problem

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: 2007-10-19 23:09:31 CEST

On 19/10/2007, Stefan Küng <tortoisesvn@gmail.com> wrote:
> Laurent GAY wrote:
> > Thank you Kurt,
> > Thank you Andy,
> >
> > I have download a night version and the option appears in the setting
> > windows.
> > So, I have add 3 .bat files in commit hooks (after,pre,post) but those
> > scripts is never call but tortoise when I commit a file.
> > Must I activate this feature by another option?
>
> A bat file isn't executable on its own. You must specify
> cmd.exe /c batfile.bat
> as the command to execute, not just batfile.bat.

Works for me without using cmd.exe on XP

You do need to use an absolute path, not a relative one, for the
working copy path and for the batch file.

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Oct 19 23:09:41 2007

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.