[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 17:19:02 +0000 (UTC)

----- "Stefan Küng" <tortoisesvn_at_gmail.com> wrote:

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.
Actually, I did: I gave up on using cmd /c, so i am back to simply calling my cmd file. This is what I have for it:

@ECHO OFF
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION

ECHO hello > c:\foo.txt
EXIT 0

now, when I add a folder and commit, all works fine, and c:\foo.txt shows hello.
After I commit my "folder add", I delete c:\foo.txt and I try again deleting a folder from subversion. I get this error when I commit:
Error : The hook script returned an error:

and c:\foo.txt does not exit.

Christophe

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

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