svn: Could not use external editor to fetch log message

转载 2015年07月10日 13:44:42
      

If you get this message when trying to do something in SubVersion, like a “svn commit”

svn: Commit failed (details follow): svn: Could not use external editor to fetch log message; consider setting the $SVN_EDITOR environment variable or using the --message (-m) or --file (-F) options svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR is set, and no 'editor-cmd' run-time configuration option was found

All you need to do is set the environment variable in your .bash_profile. To do this, enter the following command in Terminal:

vim ~/.bash_profile

Press ‘a’ to go into INSERT mode and type in the following:

export SVN_EDITOR="/usr/bin/vim"

You can change the path to the editor of your preference, I’m just used to using vim

Check your changes by reloading Terminal and printing the SVN_EDITOR environment variable to screen

AntPro-2:~ antbrown$ echo $SVN_EDITOR /usr/bin/vim

Now when you do something like “svn commit” without any arguments it will load up vim so you can type your log message, when you’re finished type “:wq” to save and quit the editor.

相关文章推荐

svn: Could not use external editor to fetch log message; 问题解决

把系统换成了10.9之后,各种问题。 用svn做个分支,提示下面的错误: svn: Could not use external editor to fetch log message; consid...

Could not use external editor to fetch log message; consider setting the $SVN_EDITOR environment va

svn: Could not use external editor to fetch log message; consider setting the $SVN_EDITOR environmen...

svn: Could not use external editor to fetch log message; 问题解决

把系统换成了10.9之后,各种问题。 用svn做个分支,提示下面的错误: svn: Could not use external editor to fetch log message; consi...

svn提交报错的一个说明

对于那些在windows下用习惯了工具提交的朋友们来说,可能用命令行提交会稍微有点不习惯,比如可能会报如下错误: xinguimengdeMacBook-Pro:man_vanthink xingu...

svn commit 时 Could not use external editor to fetch log message

就是说没有写提交的消息。svn commit时默认都要附带消息的。加上参数” -m xxx“ 就行了,其中xxx可以任意写。 比如: $svn commit -m "fix bugs on xxx...

使用PHPstorm连接svn问题记录(4):svn commit(简写:svn ci)svn: E205007

问题描述:使用PHPstorm进行svn上传时,输入 “svn ci” 后,提示如下错误: svn: E205007: Commit failed (details follow): svn: E...
  • dhmkgld
  • dhmkgld
  • 2015年10月07日 23:49
  • 1191

Apache安装出现Address already in use:make_sock:could not bind to adress...

Apache安装出现Address already in use:make_sock:could not bind to adress
  • zsg2063
  • zsg2063
  • 2014年04月10日 22:41
  • 1537

Android模拟器错误 ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.

最近用Android Studio 2.1 Preview 5,打开模拟器出现如下错误信息: emulator: WARNING: Classic qemu does not support S...

Android模拟器错误 ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.

最近用Android Studio 2.5 preview版,打开模拟器出现如下错误信息:emulator: WARNING: Classic qemu does not support SMP. T...

新建项目,Android模拟器报错:Could not initialize OpenglES emulation, use ‘-gpu off’ to disable it.

小白博主刚安装好Android Studio,新建了第一个项目,没做任何更改,依照推荐选择了模拟器,直接运行,模拟器就报错: emulator: WARNING: Classic qemu does...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:svn: Could not use external editor to fetch log message
举报原因:
原因补充:

(最多只允许输入30个字)