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

Re: Client Hook problems with commit

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 29 Jan 2009 17:38:02 +0100

mazenrab_at_rambler.ru wrote:
> Hello. I'm try to use client hooks, and have a problem .
> I have a simple pre-commit script pre-commit.bat Code is simple :)
> exit 0
> If i update or add any file in workdir and commit changes - it's work
> fine. But when i'm delete file and try to commit changes i have error
> message "Error: The hook script returned an error:".
> Changlist is only one file - deleted file.
> Im do some trys and some configuration to commit. When I add and/or
> update it's work great, but when i have a deleted file in changelist
> (no matter one file or both with update or add) script not work. I'm
> write diff script (they write log), but I think script not starting.
> I'm , read in this messageboard message from Stefan and he said
> problem fixed, but sorry it's wrong.
> If I can help you to fix this problem i'm ready.

It's fixed for the post-commit hook script in the 1.5.x branch.
But it's fixed for all hook scripts only in our trunk. You can use a
nightly build if you like.


  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-01-29 17:38:22 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.