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

Re: --editor-cmd not working with paths with spaces?

From: Philip Martin <philip_at_codematters.co.uk>
Date: Fri, 07 Jul 2017 10:17:09 +0100

Thorsten Schöning <tschoening_at_am-soft.de> writes:

> From my point of view paths with spaces should be supported.

The user controls the spaces, on Linux at least:

  $ svn ci --editor-cmd "/some/path/with\ spaces"

or

  $ svn ci --editor-cmd "'/some/path/with spaces'"

Giving the user control over the meaning of spaces lets the user do
things like:

  $ svn ci --editor-cmd "/some/path --some-arg"

and

  $ svn ci --editor-cmd "VAR=value /some/path"

which would not be possible if all spaces were interpreted as part of
a path.

-- 
Philip
Received on 2017-07-07 11:17:19 CEST

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