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

Hook scripts start with an empty environment

From: Tim Starling <tstarling_at_wikimedia.org>
Date: Wed, 24 Mar 2010 17:19:14 +1100

Hook scripts start with an empty environment instead of inheriting it
from svnserve or whatever.

This is inconvenient, not least for the case where you want to commit
something to an svn+ssh server via a local pushmi mirror on file:/// and
your SSH_AUTH_SOCK is lost so you have to type your passphrase all the time.

There's no comment in the code explaining why the environment has to be
empty, so I assume it was just done like that on a whim. Trivial patch
attached.

-- Tim Starling

Received on 2010-03-24 07:19:51 CET

This is an archived mail posted to the Subversion Dev mailing list.