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

Re: TortoiseSvn : client hook script fails when commit deleted files

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Tue, 2 Feb 2010 10:01:57 +0000

On 2 February 2010 08:33, Derek Wallace <del.wallace_at_gmail.com> wrote:
> HI,
> Ive been using client side hook script successfully for last few months to block users committing to tags.
> I use the start_commit_hook and pre_commit_hook hooks.
>
> My scripts are written in tcl and i am running 1.5.8.
>
> The issue im having is when i delete a file.
> 1. i use TortoiseSvn to delete a file.
> 2. i then select the parent folder and perform a commit.
> 3. my start_commit_hook script runs fine.
> 4. the TortoiseSvn commit dialog box opens fine.
> 5. i enter my commit message.
> 6. hit ok.
> 7. my pre_commit_hook script doesnt run and i immediately get a dialog box with the message
> "ERROR: The hook script returned an error:"
>
> Nothing else.
>
> To debug further i created a new precommit.tcl script. All it does is exit with code 0
>
> "exit 0"
>
> The problem still exists. When i commit a deleted file i get the above error.
> When i commit a modified file there is no issue.
>
> Is this a bug with TortosieSVN?

Have you tried with a more recent version? We are on 1.6.7 now.

Simon

-- 
:       ___
:  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=2444085
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-02-02 11:02:04 CET

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.