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

AW: echo in post-commit hook

From: Felix Gilcher <gilcher_at_exozet.com>
Date: 2006-07-12 10:13:04 CEST

> -----Ursprüngliche Nachricht-----
> Von: Annick Collet [mailto:Annick.Collet@eumetsat.int]
> Gesendet: Mittwoch, 12. Juli 2006 09:58
> An: users@subversion.tigris.org
> Betreff: echo in post-commit hook
>
> Dear all,
>
> I would like a msg to be sent to users under certain condition.
> In post-commit hook:
> I test the condition with svnlook.
> then I use
> echo 1>&2 'message'
> Unfortunately the msg is not displayed . Any idea why ?

That's pretty dead simple: Because by design, post commit hooks can't output anything to the user. You will have to send a mail or something alike to the user.

>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

regards

felix

--
Felix Gilcher
Head of IT Development
Exozet Berlin GmbH
Rotherstraße 20
10245 Berlin
eMail: gilcher@exozet.com
URL: www.exozet.com 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 12 10:14:25 2006

This is an archived mail posted to the Subversion Users mailing list.