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

RE: post commit hook help

From: Fredrik Arenhag <fredrik_at_musicbrigade.com>
Date: 2007-07-08 21:15:01 CEST

[OK - my respone is gonna have to be on top instead of below (using my PDA).]

Are you sure that the account running the post-commit hook (typically the same account that is running your apache process) has permission to execute svn.exe and also has the permission to write to your working copy destination?

Another tip is to use the filemon tool (available for free from www.sysinternals.com) while performing a commit - any access errors should show up in the log.

/A

Sent from my PDA as I'm not in the office.

-----Ursprungligt meddelande-----
Från: "Martin Jonasson" <grapefrukt@grapefrukt.com>
Till: "users@subversion.tigris.org" <users@subversion.tigris.org>
Skickat: 07-07-08 18:21
Ämne: post commit hook help

Hello, I just spent the last few days reviving my dev-server from a hard
drive crash.
I'm running Subversion 1.4.4 and Apache 2.0.59 on a Windows XP machine
(spare me the *nix lectures please ;) ).
Everything works just fine except that I can't get my post-commit hook
working. I've spent the last four hours fiddling with this and I'm
really at my wits end here.

I put the post-commit.bat in the proper folder, and I know it runs (it
can create files and such), it also works exactly the way I want if I
run it manually (it checks out the repository in a local folder, for web
development).

But for some reason it doesn't work when called as an actual
post-commit. If I try to log the output to a file it works fine when run
manually, I get all the messages nicely in that file, but when run as a
post-commit I just get emptyness. The output file is created, but
there's nothing in it. Not even an error message.

Currently my post-commit.bat looks like this:
"c:\program files\subversion\bin\svn.exe" update --non-interactive
C:\dev\argblargsrepo\www_test\

I'm sure I've made a really simple mistake somewhere, I've had this
setup work before, but I just can't find it.

Please help.

/martin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jul 8 21:15:20 2007

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.