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

Environment variables in hook scripts?

From: Pavel Lyalyakin <pavel.lyalyakin_at_visualsvn.com>
Date: Thu, 21 Mar 2013 19:42:35 +0400

Hello,

In the official Apache Subversion FAQ I see the entry:
http://subversion.apache.org/faq.html#hook-debugging.

The entry says:

[[
Before Subversion calls a hook script, it removes all variables --
including $PATH on Unix, and %PATH% on Windows -- from the
environment. Therefore, your script can only run another program if
you spell out that program's absolute name.
]]

Is this statement true?

I've just tested this with Windows 7 64bit and Apache Subversion
1.7.8: NO environment variables get removed.

Am I doing something wrong? Is the FAQ entry obsolete?

--
With best regards,
Pavel Lyalyakin
VisualSVN Team
Received on 2013-03-21 16:43:49 CET

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.