Login | Register
My pages Projects Community openCollabNet

Discussions > users [DISABLED] > post-commit hook does not show message at client

subversion
Discussion topic

Back to topic list

post-commit hook does not show message at client

Author "Timo Einsiedler-Burger" <solomac at gmx dot de>
Full name "Timo Einsiedler-Burger" <solomac at gmx dot de>
Date 2009-04-02 10:26:00 PDT
Message Hello,

please can someone help me out on this one! I have spent hours of searching but did not turn up with anything useful, so far.

My hook code:
#!/bin/sh

REPOS="$1"
REV="$2"

/usr/bin/svnlook changed -r $REV $REPOS 2>&1 | tee -a /tmp/svntest.log
echo "POST_COMMIT_HOOK - path: $REPOS, revision: $REV" 2>&1 | tee -a /tmp/svntest.log

Everything works fine ... hook gets executed and log file written. When i call it directly on the server i do get the log output on my prompt. However i do not get the log output displayed on my client from which i execute the commit. This is a problem, because i want to notify the user! I know i could use email for that as well, but i want direct notification upon committing.

My clients use commandline (from linux box) and connect via svn+ssh (could this be a problem???).
As far as i understand the output should get displayed at the client.

Thanks and take care!!!
--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/d​e/go/multimessenger0​1

« Previous message in topic | 1 of 6 | Next message in topic »

Messages

Show all messages in topic

post-commit hook does not show message at client "Timo Einsiedler-Burger" <solomac at gmx dot de> "Timo Einsiedler-Burger" <solomac at gmx dot de> 2009-04-02 10:26:00 PDT
     Re: post-commit hook does not show message at client David Weintraub <qazwart at gmail dot com> David Weintraub <qazwart at gmail dot com> 2009-04-02 11:21:35 PDT
         Re[2]: post-commit hook does not show message at client Andrey Repin <anrdaemon at freemail dot ru> Andrey Repin <anrdaemon at freemail dot ru> 2009-04-02 11:35:15 PDT
         Re: post-commit hook does not show message at client "Timo Einsiedler-Burger" <solomac at gmx dot de> "Timo Einsiedler-Burger" <solomac at gmx dot de> 2009-04-03 01:25:02 PDT
             Re: post-commit hook does not show message at client David Weintraub <qazwart at gmail dot com> David Weintraub <qazwart at gmail dot com> 2009-04-03 07:34:03 PDT
     Re: post-commit hook does not show message at client "Timo Einsiedler Burger" <solomac at gmx dot de> "Timo Einsiedler Burger" <solomac at gmx dot de> 2009-04-03 09:48:31 PDT
Messages per page: