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

Re: svn commit: r1875312 - /subversion/site/publish/docs/release-notes/1.14.html

From: Nathan Hartman <hartman.nathan_at_gmail.com>
Date: Wed, 18 Mar 2020 20:42:37 -0400

On Wed, Mar 18, 2020 at 8:29 PM Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:
> Nathan Hartman wrote on Wed, 18 Mar 2020 23:59 +00:00:
> > <p>For example, suppose that <tt>$SVN_EDITOR</tt> is set as follows:</p>
> >
> > <pre>SVN_EDITOR='vim -N'
> > export SVN_EDITOR
> > </pre>
>
> Should this read «SVN_EDITOR='vim -N --'»?

Probably. Else, a filename that starts with '-' would cause problems with vim.

But:

> (Or we could change the C code
> to add the "--" between the editor command and the filename, but that might
> break somebody's proverbial spacebar heating.)

I don't think we should do that because an editor that doesn't support
a "--" option could have problems. I don't see it in nano's manpage on
my debian box for example.

Cheers,
Nathan
Received on 2020-03-19 01:42:58 CET

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.