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

Re: Hook scripts run with empty environment

From: <kfogel_at_collab.net>
Date: 2004-12-20 22:32:27 CET

Greg Hudson <ghudson@MIT.EDU> writes:
> We appear to run hook scripts with a totally empty environment,
> instead of inheriting the environment of the svn process. Is there a
> reason for this?
> (The mechanics of doing this appear to date back to r1189, where we
> made it possible to run a program with an inherited environment but
> opted not to do so for hook scripts.)

I don't know (John Peacock's speculation of "security" might be right,
but I don't have any memories backing that up). It would make sense
to use the process environment, IMHO, and I'd be +1 on a fix or,
failing that, an issue to record the enhancement.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Dec 20 22:39:05 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.