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

Re: TortoiseSVN - Start Commit hook

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 3 Feb 2017 18:37:06 +0100

On 02.02.2017 11:57, Unterberger, Andreas AVL/AT wrote:
> Hi,
>
>
>
> I’m currently trying to add a start Commit hook script on Windows 7
> system to the TortoiseSVN client.
>
>
>
> Basically there are 3 checkboxes in the dialogue. One is wait for the
> script to finish but this does not change anything as it seems.
>
> So to understand how it works I made a simple batch file which I wanted
> to start via this hook.
>
>
>
>>> batch file start
>
> cd
>
> pause
>
> pause
>
>>> batch file end
>
>
>
> So I expected that I see a command window which just prints out the
> current working directory and then wait for a keystroke (user input) to
> close the window.
>
>
>
> But I experience that it closes so fast again that I can’t see anything,
> so it is not waiting for any key.

you haven't mentioned the "command line to execute" you used. If you
only specified the path to the bat file, that won't work.
A bat file can not run on its on, you have to specify "cmd /c
path/to/bat" instead.

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=3206554
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2017-02-03 18:37:14 CET

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.