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

Re: Hooks

From: Brendan Farr-Gaynor <brendan_at_resolutionim.com>
Date: Tue, 15 Dec 2009 00:08:34 -0500

Ended up taking a different approach based on this tutorial. Works now.

http://peterstagg.com/2009/05/29/installing-subversion-on-os-x-leopard-server-as-a-revision-control-server-for-a-website-project/#comment-100

--
Brendan Farr-Gaynor
On 2009-12-14, at 9:14 PM, Ryan Schmidt wrote:
>
> On Dec 14, 2009, at 20:10, Brendan Farr-Gaynor wrote:
>
>> So I think I'm a little bit closer, I had to checkout the  
>> repository manually through the terminal to the web root, now when  
>> I manually run my script I see that it indeed updates the web root,  
>> however the hook doesn't seem to run when I change and update a  
>> file, I modified it to add a line to a log:
>
>
>> echo `date +"%Y%m%d-%H:%M:%S"` >> /var/log/svn_commit
>> /Library/WebServer/update_svn >> /var/log/svn_commit
>
> This sends the stdout of update_svn to the log, but discards its  
> stderr. You may want to capture its stderr as well; it may be  
> printing an error message.
>
>
Received on 2009-12-15 06:09:10 CET

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.