[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: Blair Zajac <blair_at_orcaware.com>
Date: 2003-05-06 23:05:25 CEST

Jeff Cave wrote:
>
> Alright I have to conceed defeat :(
>
> I have no idea how to fix this problem I am having. I cannot get the
> commit-email.pl to run at all. I just don't have enough perl knowledge.
>
> I have it narrowed down to a couple of lines of code, but don't know
> enough to figure out what they are doing. It seems that every call to
> safe_read_from_pipe causes the error:
>
> '-' is not recognized as an internal or external command,
> operable program or batch file.
>
> safe_read_from_pipe is called from read_from_process. There are 4 calls to it:
>
> Line 211: my @svnlooklines = &read_from_process($svnlook, 'info', $repos, '-r', $rev);
> Line 218: my @dirschanged = &read_from_process($svnlook, 'dirs-changed', $repos, '-r', $rev);
> Line 237: @svnlooklines = &read_from_process($svnlook, 'changed', $repos, '-r', $rev);
> Line 272: my @difflines = &read_from_process($svnlook, 'diff', $repos, '-r', $rev, @no_diff_deleted);

Yes, the safe_read_from_pipe doesn't work on Windows, as it does a
fork & exec. Rewriting this one function should get it to work
fine on Windows.

Best,
Blair

-- 
Blair Zajac <blair@orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 6 23:06:18 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.