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

Re: TortoiseSVN pre-commit hook issue

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 27 Nov 2014 20:33:25 +0100

On 25.11.2014 12:11, John Chant wrote:
> With TortoiseSVN 1.8.8.25755 I can -
>
> Register a pre-commit hook and it works as expected.
>
> Register an issue tracker plugin, for Jira, and it works as
> expected.
>
> However if I do both of the above for the same working path when I
> click OK on the commit dialog I get a message box with the text Hook
> script failed! Checkcommit.
>
> If I remove the pre-commit hook I still get the error message.
>
> I have to remove the plugin in order to prevent the error message
> box.

The hook scripts and the issue tracker plugins are handled separately.

If you get the error even if you remove the plugin, then it's the
plugins precommit handler that's returning the error, not your hook script.
A plugin can also implement a precommit handler, so it's your plugin
that's causing the problem. Find out why it returns an error.

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=3091932
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-11-27 20:33:29 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.