The scenario:
If you are a
you have come to the right place.
For the impatient, the script is posted at the end of the article.
Before we delve into writing the script, let us summarize the environment.
If you are reading this post you already know what is SVN. If you don' I recommend you to read
http://subversion.tigris.org/ and
http://en.wikipedia.org/wiki/Subversion_%28software%29
There is also a free and excellent book on subversion at http://svnbook.red-bean.com/
In this article we will quickly set up an SVN server and also demonstrate how to use it.
First and foremost, make sure you have subversion installed on your server and client.
yum install subversion
If you are using subversion (SVN) for your source code management you may have come across this situation.
You forgot to add certain files to the repository. It happens every now and then.
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?
Recent comments
23 hours 12 min ago
1 day 3 hours ago
1 day 4 hours ago
1 day 8 hours ago
1 day 20 hours ago
3 days 15 hours ago
3 days 17 hours ago
6 days 11 hours ago
1 week 3 days ago
1 week 3 days ago