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?
From there, you can start playing around with the command. For
example, make sure all of the slashes in the command are back-slashes
and not forward slashes, and see if that helps.
If you can run "svnlook" from the command line, you may want to try
debugging the "commit-access-control.pl" Perl script to see what could
be the problem. You can modify the script to use the "-r" parameter
instead of the "-t" parameter when it uses the 'svnlook" command
internally. That way, you can run the script on the command line and
see what is going on.
On 7/21/05, Calvin <szguoxz@hotmail.com> wrote:
> 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
>
>
--
--
David Weintraub
qazwart@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 22 02:55:57 2005