default SVN_EDITOR environment for SVN

Posted under » Version Control on 12 July 2019

Encountered "svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR is set," when you want to commit.

You can get around this by the -m option.. ie

svn commit -m "This is why I do this commit"

Or you can set SVN_EDITOR environment variable by

export SVN_EDITOR=vim

If you wish to set SVN_EDITOR environment variable permanently, then u need to add this line to your bash file which is located at your home folder. (eg: /home/anoneh/.bash_profile)

If .bash_profile does not exists, you should create one.

export SVN_EDITOR=vim

web security linux ubuntu GIT svn Raspberry apache mysql php drupal cake symfony javascript Ajax css