Re: Hook Script error
From: si <sshnug.si_at_gmail.com>
Date: 2006-05-30 16:12:16 CEST
> All paths in hook scripts should be absolute paths.
Actually, under windows, environment variables may persist.
For example, svnserve 1.3.1 running as Local Service on
@echo off
c:\set.txt yields:
ALLUSERSPROFILE=C:\Documents and Settings\All Users
Note that Path contains Subversion\bin.
What's more of a concern is svn >= 1.3.0 not allowing post-commit
Easy way to test under windows, try this as a post-commit hook:
@echo off
(unless you defrag often you'll be waiting a while, so it's a good
svn < 1.3.0 would spawn a process, svn >= 1.3.0 won't.
Painful if you use post-commit emails/backups/etc.
peace
---------------------------------------------------------------------
|
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.