You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Calvin <sz...@hotmail.com> on 2005/07/21 04:49:13 UTC
pre-commit on windows
Finally I give up. I believe the pre-commit script commit-access-control.pl
won't run on windows.
The SVNLOOK failed for no reason, sounds like some pipe read went wrong.
Anybody has ever solved this?
Thanks,
Calvin
-----Original Message-----
From: Calvin [mailto:szguoxz@hotmail.com]
Sent: Wednesday, July 20, 2005 11:31 PM
To: 'users@subversion.tigris.org'
Subject: hookscripts
Got no choice but ask here again.
I managed to get the hookscripts pre-commit to run, but got the following
error message.
No idea why "c:\tools\svnlook.exe" would fail.
==========================================
C:\svn\ocm\trunk>svn ci -m "d" > test.txt
svn: Commit failed (details follow):
svn: MERGE request failed on '/ocm/trunk'
svn: 'pre-commit' hook failed with error output:
e:\svn\commit-access-control.pl:
`c:\tools\svnlook.exe author e:\svn\source/ocm
-t 15-1' failed with no output.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: pre-commit on windows
Posted by David Weintraub <qa...@gmail.com>.
Please don't keep changing the subject, or we lose the thread..
The best thing to do is run the svnlook command manually on your
server from the command line. Of course, you won't have a transaction
you're processing, but you could simply substitute it for the "-r"
parameter and give it the latest repository ID.
Try running this command:
C:> c:\tools\svnlook.exe author e:\svn\source/ocm -r HEAD
And see what you get. Does it print an author's name? Do you get an
error message? Is there any output?