RE: pre-commit hooks wity Ruby on Windows
From: Andreas Guther <Andreas.Guther_at_markettools.com>
Date: 2006-10-25 18:31:06 CEST
Found the solution:
I have to use warn instead of put. Warn writes to stderr.
Andreas
-----Original Message-----
Hi,
I am trying to get a pre-commit hook to work using Ruby on Windows but I
I am basically writing with puts the message and then use exit(1) to
What is the right way to return a error message.
In batch files I am using something like the following
ECHO Please enter comment and then retry commit. 1>&2
Is there something similar to do in Ruby?
Thanks in advance for any help.
Andreas
---------------------------------------------------------------------
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.