Re: Hooks
From: Ryan Schmidt <subversion-2009d_at_ryandesign.com>
Date: Mon, 14 Dec 2009 20:14:44 -0600
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
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.
|
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.