How To Set SVN_EDITOR Environment Variable To Vim

Problem: You are trying to use the command svn propedit svn:externals and you are receiving the error:

svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set, and no 'editor-cmd' run-time configuration option was found

Solution: Set vim as your SVN_EDITOR

Command:

export SVN_EDITOR=vim

To permanently set this environment variable put the below line in your ~/.bash_profile file.

export SVN_EDITOR=vim

Did it solve your problem?

About the author

Sudheer is an entrepreneur and software developer. Get more from Sudheer on Twitter.


Thanks

Thanks a lot coz I badly needed to fix it.

I am still facing an error

I am still facing an error message on my VDU.

Would you mind telling us the

Would you mind telling us the error you are receiving?

Sudheer
Binary Vibes

Funcion

Funcion

You're welcome

You're welcome.

emartini said in his comment:
"It worked perfect, thanks!"

Sudheer
Binary Vibes

Almost...

Tanks for the tip, but doesn't work to me.

I'm Debian user and to solve this I just change the export SVN_EDITOR=vim from ~/.bash_profile to ~/.bashrc

Worked for me; using Fedora

Worked for me; using Fedora 12. Thanks; wasn't aware of needing to use EXPORT -- this also solved my provlem of string to run 'set PS1' from bash_profile :)

It helped me with ocean of

It helped me with ocean of knowledge so I really believe you will do much better in the future I appreciate everything you have added to my knowledge base.Admiring the time and effort you put into your blog and detailed information you offer!...
site de jeux gratuits sur Internet

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>. The supported tag styles are: <foo>, [foo].

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.