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

Re: Comments from precommit hook in commit Finished window

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 11 Feb 2010 20:18:47 +0100

On 11.02.2010 09:33, Ravisha wrote:
> I am using Tortoise SVN 1.6.3. I have created a Pre commit hook in C#
> .Net ,where in i am modifying files to be committed on a particular
> condition(Adding comments C# in the end of the files if no comments
> are added).Now i want to display if this comment was added or not in
> the commit finished window.I tried logging the message in
> Console.Error.Write ,Console.Out.Write and Console.Writeln but no
> use.

Sorry, that's not possible. The error message is only shown if the
script returns an error code. Otherwise no text is read from the console
and also not shown.
You can however show your own dialog in your script.

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=2446807
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-02-11 20:18:58 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.