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...
  • tongzhitao
  • tongzhitao
  • 2013年08月14日 17:23
  • 9826

svn常用命令

SVN(Subversion)是一个自由、开源的项目源代码版本控制工具。目前,绝大多数开源软件和企业代码管理,都使用SVN作为代码版本管理软件。 Subversion将文件存放在中心版本库里,这个版本...
  • mad1989
  • mad1989
  • 2012年12月19日 00:57
  • 10850

svn: Could not use external editor to fetch log message

If you get this message when trying to do something in SubVersion, like a “svn commit” svn: Commit ...
  • tangaowen
  • tangaowen
  • 2015年07月10日 13:44
  • 2345

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...
  • u010094934
  • u010094934
  • 2016年11月28日 00:24
  • 456

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

把系统换成了10.9之后,各种问题。 用svn做个分支,提示下面的错误: svn: Could not use external editor to fetch log message; consi...
  • chengkaizone
  • chengkaizone
  • 2014年04月01日 17:09
  • 1309

svn commit failed: Could not use external editor to fetch log message

svn commit时出错 svn: Commit failed (details follow): svn: Could not use external editor to fetch log...
  • Michael20070810625
  • Michael20070810625
  • 2015年09月07日 15:57
  • 450

svn提交报错的一个说明

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

Linux下的svn 常见错误解决

最近svn add dir 之后执行 svn ci报错 svn: Could not use external editor to fetch log message; consider setti...
  • u011334621
  • u011334621
  • 2014年07月25日 11:22
  • 589

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

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

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

svn: Could not use external editor to fetch log message; consider setting the $SVN_EDITOR environmen...
  • liujinsuoabc
  • liujinsuoabc
  • 2014年03月20日 18:36
  • 333
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:svn: Could not use external editor to fetch log message
举报原因:
原因补充:

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