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

Re: Can't start hook script

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-12-28 14:39:53 CET

On 12/28/06, Norbert Unterberg <nunterberg@gmail.com> wrote:
> 2006/12/27, Tim Hill <drtimhill@comcast.net>:
> > This is probably an environment thing; try dumping the environment to
> > see what you have to work with (you'll notice that PATH is pretty
> > limited).
>
> I think you don't need to do this. According to the subversion docs,
> hook scripts are called with an empty environment. So you won't have
> no choice but calling your WSH scripts from a post-commit.cmd file.

The output of "set", as run from pre-commit.bat:

ALLUSERSPROFILE=C:\Documents and Settings\All Users
ANT_HOME=C:\ant
APR_ICONV_PATH=C:\Program Files\Subversion\iconv
CLASSPATH=.;C:\PVSW\BIN\PVJDBC2X.JAR;C:\PVSW\BIN\PVJDBC2.JAR;C:\Progra~1\Java\jdk1.5.0_07\lib\tools.jar;C:\Program
Files\Apache Software Foundation\Tomcat 5.0\common\lib;C:\Program
Files\Java\jre1.5.0_06\lib\ext\QTJava.zip
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=ANDREWLEVY
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
JAVA_HOME=C:\Progra~1\Java\jdk1.5.0_07
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\Perl\bin\;C:\oracle\ora92\bin;C:\Program
Files\Oracle\jre\1.1.8\bin;C:\PVSW\BIN;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\nls;C:\WINDOWS\system32\nls\ENGLISH;C:\Program
Files\Novell\ZENworks\;C:\Program Files\Microsoft SQL
Server\80\Tools\BINN;C:\Program Files\Sybase\SQL Anywhere
8\drivers;C:\Program Files\Sybase\SQL Anywhere 8\win32;C:\Program
Files\Sybase\Shared\win32;C:\ant\bin;C:\Program
Files\Subversion\bin;c:\unxutil;C:\Progra~1\Java\jdk1.5.0_07\bin;C:\Program
Files\Microsoft SQL Server\80\Tools\Binn\;c:\python23\;C:\Program
Files\QuickTime\QTSystem\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0401
ProgramFiles=C:\Program Files
PROMPT=$P$G
QTJAVA=C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip
REPOS=C:\Repositories/Test
SVNLOOK=c:\progra~1\subversion\bin\svnlook.exe
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\WINDOWS\TEMP
TMP=C:\WINDOWS\TEMP
TXN=406-1
USERPROFILE=C:\Documents and Settings\LocalService
VSL=C:\PVSW\BIN
WF_RESOURCES=C:\oracle\ora92\WF\RES\WFus.RES
windir=C:\WINDOWS
AP_PARENT_PID=260

It is not a completely empty environment.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 28 14:40:09 2006

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.