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

Re: commit-email.pl errors on Win2000 (was RE: Are there anyone running Subversion server on Window NT?)

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-05-07 20:19:35 CEST

Jeff Cave wrote:

>I now have a copy of the scripts that works with Win2000. I hope that someone else out there finds them useful. I tried to keep the number of alterations from the original to a minimum.
>
>post-commit.bat is the same as the post-commit.tmpl except it uses batch file syntax instead of bash syntax. commit-email.pl has a couple of small changes to the safe_read method that allow it to work under windows as well as a change to the way it sends mail (the script itself is the client).
>
Could you please replost this in the form of a patch, together with alog
message? The HACKING file explains how to do that.

>Unfortunately, this does not solve Chien-Lung Wu's original problem. We have sent a couple of emails back and forth and the problem there was not in the commit-email.pl but in the hook itself.
>
>Chien-Lung Wu tried this batch file
>
> rename e:\svn\repos\L3\hooks\y.txt e:\svn\repos\L3\hooks\x.txt
>
>and it failed. I have tried the same batch file, and it worked. This is not a problem with the hook scripts, but with the calling of the hook scripts.
>
>This is where I notice that I have no idea what I'm talking about and run back to my corner to hide in, hoping that someone else will have something to add...
>
>
Well, it would help if you could be a bit more explicit about how it
failed; error messages, symptoms, etc. would be most welcome. My best
guess is that we're calling apr_proc_create incorrectly for batch files.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 7 20:20:55 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.