Yes, you are right, it would be confusing.
But I want to notify the client in case there are related files he/she
should consider to update as well.
So i will make it fail only in case the server finds those (rule based)
files. In that case the client receives
a warning that the post-commit hook failed with the STDERR and STDOUT i want
Unless subversion provides a feature unknown to me, this fits my needs
allright, as the commit goes through anyway.
----- Original Message -----
From: "David Weintraub" <qazwart_at_gmail.com>
To: "Timo Einsiedler-Burger" <solomac_at_gmx.de>
Sent: Friday, April 03, 2009 4:34 PM
Subject: Re: post-commit hook does not show message at client
> On Fri, Apr 3, 2009 at 4:24 AM, Timo Einsiedler-Burger <solomac_at_gmx.de>
>> thanks for the quick reply. I must have got the messaging part wrong,
>> Well, anyway good to know how it should work.
>> I guess I will make it fail in purpose just to notify the client.
> One thing I should mention about this. I believe when you fail a
> post-commit hook, the client will get a failure message, and then what
> you sent on STDERR. It might be a bit confusing to the clients to see
> an error, and then your "Everything is Okay" message.
> Play around with it, and let us know what happens.
> David Weintraub
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-03 18:49:28 CEST