[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: <chroyer_at_comcast.net>
Date: Fri, 8 Oct 2010 16:46:44 +0000 (UTC)

----- "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?)

Christophe

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2669358

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-10-08 18:46:58 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.