From users-return-36-apmail-subversion-users-archive=subversion.apache.org@subversion.apache.org Tue Dec 15 02:15:18 2009 Return-Path: Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: (qmail 36923 invoked from network); 15 Dec 2009 02:15:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Dec 2009 02:15:17 -0000 Received: (qmail 91197 invoked by uid 500); 15 Dec 2009 02:15:17 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 91151 invoked by uid 500); 15 Dec 2009 02:15:17 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 91143 invoked by uid 99); 15 Dec 2009 02:15:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 02:15:17 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [80.67.18.43] (HELO smtprelay01.ispgateway.de) (80.67.18.43) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 02:15:08 +0000 Received: from [75.60.181.128] (helo=[192.168.7.75]) by smtprelay01.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1NKMw3-0005dB-Kz; Tue, 15 Dec 2009 03:14:47 +0100 Subject: Re: Hooks Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Ryan Schmidt In-Reply-To: <6A7DA1BB-ABC7-481B-9999-043468B1C54F@resolutionim.com> Date: Mon, 14 Dec 2009 20:14:44 -0600 Cc: users@subversion.apache.org Content-Transfer-Encoding: quoted-printable Message-Id: <497E0511-17FF-428B-B2E1-C85C26FBEE08@ryandesign.com> References: <06D15462-BB56-4FE6-9BC6-3CD2D883F07F@resolutionim.com> <6A7DA1BB-ABC7-481B-9999-043468B1C54F@resolutionim.com> To: Brendan Farr-Gaynor X-Mailer: Apple Mail (2.1077) X-Df-Sender: 368818 X-Virus-Checked: Checked by ClamAV on apache.org 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.