[ACCEPTED]-Change SVN message editor-svn
You can add corresponding setting in your 1 $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
Update your SVN_EDITOR
environment variable. You 3 can try
echo $SVN_EDITOR
to see if this is set to something 2 else in your shell - in which case you might 1 want to take a look at your .bashrc
(or similar) file.
The editor to be used by SVN can be set 5 at the Subversion config, as vvlevchenko suggested. Edit the 4 corresponding setting in your %USERPROFILE%\Subversion\config
on Windows 3 respectively ~/.subversion/config
on BSD, Linux, Mac OS.
To use 2 Emacs with SVN on Windows:
[helpers]
editor-cmd = c:/emacs-24.3/bin/runemacs.exe
To use Nano with 1 SVN on BSD, Linux or Mac OS:
[helpers]
editor-cmd = nano
I also found this here (but changed from vim 3 to gedit):
Command:
export SVN_EDITOR=gedit
To permanently set this 2 environment variable, put the below line 1 in your ~/.bash_profile file:
sudo gedit ~/.bash_profile
export SVN_EDITOR=gedit
(save file)
vim ~/.bashrc
export SVN_EDITOR=vim
source ~/.bashrc
0
On Ubuntu, default editor for Subversion 3 commit messages can be also changed by selecting 2 default general command line text editor 1 as described here: https://askubuntu.com/a/615181
sudo update-alternatives --config editor
Selection Path Priority Status
------------------------------------------------------------
* 0 /bin/nano 40 auto mode
1 /bin/ed -100 manual mode
2 /bin/nano 40 manual mode
3 /usr/bin/vim.basic 30 manual mode
4 /usr/bin/vim.tiny 10 manual mode
More Related questions
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.