On Monday, December 11, 2017 at 7:02:35 PM UTC+1, Void wrote:
>
> Unfortunately this is still prompting the user with a window to commit
> when I try this and does not log an error.
>
> int val;
> if (!int.TryParse(Console.ReadLine(), out val))
> {
> Console.Error.WriteLine("Please enter a number");
> return;
> }
>
>
>
>
Did you compile your script as a console program?
If not, the Console.Error.WriteLine has nowhere to write to.
--
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/3537d6c0-e8ec-4771-bd48-b1f42e89690b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.