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

Re: POST-commit hook issue - Check in works

From: Branko Čibej <brane_at_wandisco.com>
Date: Mon, 10 Feb 2014 15:35:38 +0100

On 10.02.2014 15:23, Matt Parks wrote:
> This is the error that the post-commit logs
>
> svn: OPTIONS of 'http://svnServer/svn/myREPO/trunk/wwwroot': could not
> connect to server (http://svnServer)
>
> If there is another log, I am not aware to look for it to share it
> here with you.

So you're saying that when the checkout fails in the post-commit,
nothing gets written to the Apache error log? If that's the case, then
it doesn't even create a connection to your server; you're either using
the wrong URL, or, for some reason, the host name is being resolved
differently in your post-commit hook than when you try the same URL on
the command line.

I'm not aware of why that wouldn't work, unless you're storing the
server name in an environment variable. The post-commit hook runs with
an empty environment.

-- Brane

-- 
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. brane_at_wandisco.com
Received on 2014-02-10 15:36:16 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.