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

post-commit hook does not show message at client

From: Timo Einsiedler-Burger <solomac_at_gmx.de>
Date: Thu, 02 Apr 2009 19:25:58 +0200

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/de/go/multimessenger01
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1521513
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-02 19:39:06 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.