Stefan Sperling wrote on Wed, Aug 27, 2014 at 11:38:07 +0200:
> As far as I understand the situation, apple is shipping an old svnserve
> in /usr/bin and the user would prefer running a more recent
> /usr/local/bin/svnserve.
> Additionally, overriding per-user environment variables like PATH
> seems to be a very difficult thing to do. I can't judge if this is
> really the case since I don't use MacOS at all.
>
Something like this used to work:
[tunnels]
ssh = _t() { h=$1; shift; ssh $1 env VAR=val /path/to/svnserve -t "$@";
}; _t
> The user is requesting a config knob to override the default, to be
> able to specify a full path to svnserve and add other flags to
> svnserve's invocation as desired. This is indeed a fairly trivial
> change. Do we want to add this?
>
I'm not sure, Bert makes a good point that the server admin should
be expected to make his server work with the client default settings.
> Note that, with ssh keys, the server can override the tunnel command
> requested by the client, which is another possible workaround.
>
> This is diff is untested, just a proof of concept.
>
The code seems to be allocating beyond the end of the array ARGV.
Daniel