Hi,

On 2023/11/20 3:25, Nathan Hartman wrote:
On Sat, Nov 18, 2023 at 9:34 PM Vincent Lefevre <vincent-...@vinc17.net>
wrote:


I get an error like

Index: perso/TODO
===================================================================
exec of 'mydiff' failed: No such file or directorysvn: E200012: 'mydiff'
returned 255



Hi Vincent,

Just to rule out one possibility, could you try invoking the same svn diff
command but with the full path to mydiff?

I am asking because I think the "no such file or directory" error means
that the mydiff script itself is not found, as opposed to anything inside
the mydiff script. I also think the "'mydiff' returned 255" is an incorrect
message, since I don't think mydiff was actually started.

On FreeBSD 13 and Debian 12, I could reproduce same error message,
even the script file exists and executable bit is set but the command of
shbang line did not actually exist.

Since the error can be found after forking, this error cannot be reported
on svn_io_start_cmd3() and apr_proc_create(), then it is reported as
exit process code on apr_proc_wait()/svn_io_wait_for_cmd().

Cheers,
--
Yasuhito FUTATSUKI <futat...@yf.bsdclub.org>

Reply via email to