Change SVN message editor

Update your SVN_EDITOR environment variable. You can try

echo $SVN_EDITOR

to see if this is set to something else in your shell - in which case you might want to take a look at your .bashrc (or similar) file.


The editor to be used by SVN can be set at the Subversion config, as vvlevchenko suggested. Edit the corresponding setting in your %USERPROFILE%\Subversion\config on Windows respectively ~/.subversion/config on BSD, Linux, Mac OS.

To use Emacs with SVN on Windows:

[helpers]
editor-cmd = c:/emacs-24.3/bin/runemacs.exe

To use Nano with SVN on BSD, Linux or Mac OS:

[helpers]
editor-cmd = nano

You can add corresponding setting in your $HOME/.subversion/config or %USERPROFILE%\Subversion\config. e.g. for my Windows VM I have got:

[helpers]
editor-cmd = c:/emacs-24.3/bin/runemacs.exe

Tags:

Svn