Symfony World blog is not maintained anymore. Check new sys.exit() programming blog.

Command line SVN editor

For those of you who still use Subversion as the software versioning system, setting SVN_EDITOR option will be important sooner or later.

SVN properties such as svn:externals or svn:ignore need to be set manually by the developer. To do this, run svn propedit or svn propset command (IDEs such as NetBeans have built-in SVN support which does the same stuff). If you're working in the command line, run one of the following commands:

export SVN_EDITOR=vim
or
export SVN_EDITOR=nano
or
export SVN_EDITOR=mcedit (or whatever)

This sets the SVN editor for the current user session. If you want to store this option permanently (to be set whenever you log in to your machine), create/edit the ~/.bash_profile file and put the same content there.

No comments:

Post a Comment