No able to log out to console with Console.WriteLine() with a hook
34 views
Skip to first unread message
Void
unread,
Dec 22, 2017, 1:22:11 PM12/22/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TortoiseSVN
I'm trying to log a message to a user before input but it's not logging anything, am I doing something wrong?
Stefan
unread,
Dec 23, 2017, 2:57:41 AM12/23/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TortoiseSVN
On Friday, December 22, 2017 at 7:22:11 PM UTC+1, Void wrote:
I'm trying to log a message to a user before input but it's not logging anything, am I doing something wrong?
A hook script can not change the commit message the user entered.
If you want a dialog to show up with a message for the user, you have to return an exit code that's not zero from the script and write the message to the error output.
Void
unread,
Jan 8, 2018, 8:39:31 PM1/8/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TortoiseSVN
Sorry I'm trying to log out to the console window a simple `Console.WriteLine("aaa");` not a dialog window.