[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: Sat, 09 Oct 2010 09:53:09 +0200

On 08.10.2010 19:19, chroyer_at_comcast.net wrote:
>
> ----- "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.

Did you put the path to the script in quotes?

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=2669523
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-10-09 09:53:24 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.