On 08.10.2010 18:46, chroyer_at_comcast.net wrote:
>
> ----- "Stefan Küng" <tortoisesvn_at_gmail.com> wrote:
>
>
> Works just fine for me here.
> Do you start your bat script as
> cmd.exe /c path/to/batfile
> ?
> If not, try it this way. You can't really execute a bat file directly,
> so you have to specify the cmd.exe here.
>
> Interesting...I tried using cmd.exe /c "myscript", and it made no
> difference when I deleting a folder (I saw the same error message in the
> commit dialog).
>
> However...Since I ran out of folders to delete, I went ahead and added a
> few folders and committed. This time, I got a different error in the
> commit dialog:
> Error : The hook script returned an error:
> Error : 'C:\Documents' is not recognized as an internal or external command,
> Error : operable program or batch file.
>
> (Fair enough, I must have messed up the quotes or something on the hook
> setting, I will look into that)
>
> But that tells me that when I comitted my delete only, the script did
> not even run (or I would have seen the same error, right?)
Not sure. To check whether the script really runs, you'd have to make
the script do something you can check, for example create a dummy test
file or show a dialog or something like that.
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=2669359
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-10-08 18:54:57 CEST