subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Martin <phi...@codematters.co.uk>
Subject Re: --editor-cmd not working with paths with spaces?
Date Fri, 07 Jul 2017 09:17:09 GMT
Thorsten Schöning <tschoening@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

Mime
View raw message