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

Re: 1.6.10 post-commit client hook fails when only deleting folder

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 08 Oct 2010 18:54:43 +0200

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

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.