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

Re: post-commit question

From: Jeroen Coumans <jeroen_at_jeroencoumans.nl>
Date: 2004-05-27 19:36:24 CEST

Ben Collins-Sussman said the following on 26-05-2004 20:53:
> On Wed, 2004-05-26 at 11:07, Jeroen Coumans wrote:
>>Eg. if some commits to /branches/client1/, the post-commit script would
>>export /branches/client1/ to /www/client1/
> Of course it's possible. Have your post-commit script use 'svnlook' to
> examine the commit that just happened, and act accordingly.

Aha, ok, thanks! My scripting is not very good, but I hope I can manage
this by myself. What would be the best way to test and debug the
post-commit hook? I have setup a test repository to test it out, but it
doesn't show me the output of the script. I have the following:

set -x

branch='svnlook changed /subversion/mambo/ | cut -d / -f 3'

echo "REPOS = $REPOS"
echo "REV = $REV"
echo "branch = $branch"

How do I view the output?

Jeroen Coumans
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 27 19:36:54 2004

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.