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

can't get post-commit.bat to execute in win32

From: Tetsuto Teddy Nishiyama <tnishi_at_ari.ncl.omron.co.jp>
Date: 2006-04-17 07:53:11 CEST

Hi all,

I have seen very few but similar problems reported here and elsewhere
but I still have not been able to solve the problem...hence this post.
Any help would be greatly appreciated.

PROBLEM:
 I can't get my post-commit.bat to execute. It works fine when I
 run it directly from the MS-DOS prompt, but it doesn't run at
 commits.

 I have read a few things about permissions. Apache is running as
 SYSTEM, and I have checked permissions and SYSTEM has all permissions
 on for the repository as well as the hook script.

 Currently, I have a post-commit.bat in the hooks directory that just
 has one line as I stated below to create and write a message to a file
 but nothing happens so I'm assuming it isn't executing.

ENVIRONMENT:
 Windows XP Professional SP2
 Subversion 1.3.0
 Apache 2.0.55

REPOSITORY INFO
 location C:\svnrepo\test
     i.e. C:\svnrepo\test\hooks

POST-COMMIT
 file c:\svnrepo\test\hooks\post-commit.bat

  content: (just one line)

        echo running post-commit.bat >> test.txt

   should create a file and add "running post-commit.bat" to it.

Thanks,
Teddy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Apr 17 07:54:28 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.