[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: post-commit hook does not show message at client

From: Timo Einsiedler Burger <solomac_at_gmx.de>
Date: Fri, 3 Apr 2009 18:48:22 +0200

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
to show.
Unless subversion provides a feature unknown to me, this fits my needs
allright, as the commit goes through anyway.

Thanks again!

----- Original Message -----
From: "David Weintraub" <qazwart_at_gmail.com>
To: "Timo Einsiedler-Burger" <solomac_at_gmx.de>
Cc: <users_at_subversion.tigris.org>
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>
> wrote:
>> thanks for the quick reply. I must have got the messaging part wrong,
>> then.
>> 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
> qazwart_at_gmail.com

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1533847

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-03 18:49:28 CEST

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.