[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: Bert Huijben <bert_at_qqmail.nl>
Date: Fri, 7 Jul 2017 11:46:48 +0200

> -----Original Message-----
> From: Thorsten Schöning [mailto:tschoening_at_am-soft.de]
> Sent: vrijdag 7 juli 2017 09:23
> To: users_at_subversion.apache.org
> Subject: --editor-cmd not working with paths with spaces?
>
> Hi all,
>
> I need to commit to some SVN repo in a Git bash/MinGW environment and
> recognized the following error:
>
> > $ svn ci --editor-cmd "/usr/bin/vi"
> > Der Befehl "C:/Program" ist entweder falsch geschrieben oder konnte nicht
> gefunden werden.
> > svn: E200012: Commit failed (details follow):
> > svn: E200012: system('C:/Program Files/Git/usr/bin/vi svn-commit.4.tmp')

Where is your vi.exe located?

If it is in C:\usr\bin\vi.exe I would recommend using --editor-cmd "C:\usr\bin\vi.exe" or if VI is in your path you could just use --editor-cmd vi.
(I often use --editor-cmd notepad2, which is just located somewhere in my PATH dirs.)

        Bert
Received on 2017-07-07 11:46:55 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.