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

Re: Getting message from SVN pre-commit hook to Tortoise GUI

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 18 Mar 2016 21:51:00 +0100

On 18.03.2016 20:51, Matt Goodnight wrote:
> I have added a pre-commit hook that will enforce rules on the value
> of Message upon a commit. If the edit fails, I would like to put a
> specific Error Message on the Tortoise GUI screen, yet my attempt to
> write to SysOut is not making it there.
>
> Anyone know how to get text from the pre-commit hook to the Tortoise
> GUI window for commits?

You have to write the message to stderr, not stdout.

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=3166547
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-03-18 21:51:04 CET

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