On Tuesday, December 12, 2017 at 10:19:46 PM UTC+1, Void wrote: > > I added it as as a hook script in the Hook Scripts settings. It's a > start_commit_hook, and yes it's called as I get console window to enter to > the console. > When I enter a letter and read it with Console.ReadLine() the function > should exit out and popup a error message, but it's not showing the error > and it continues with the commit. >
first: maybe you may want a check-commit hook instead start-commit hook. But that's just my guess. second: you also have to return from your script with a non-null exit code to indicate an error. If your script returns with zero, then that means no error. Stefan -- You received this message because you are subscribed to the Google Groups "TortoiseSVN" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/97d7144d-6498-497f-baa1-b824d5fee6a4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
