为什么不能在cygwin中使用$ SVN_EDITOR环境变量? [英] Why cant I use the $SVN_EDITOR environment variable in cygwin?
本文介绍了为什么不能在cygwin中使用$ SVN_EDITOR环境变量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我必须失去一些蠢事!当我使用-m选项时,它工作正常。
$ echo $ SVN_EDITOR
emacs
$ svn commit test.py
svn:提交失败(详情如下):
svn:无法使用外部编辑器获取日志消息;考虑设置$ SVN_EDITOR环境变量或使用--message(-m)或--file(-F)选项
svn:没有设置环境变量SVN_EDITOR,VISUAL或EDITOR,已找到cmd'运行时配置选项
解决方案从来没有看到一个平台,其中SVN_EDITOR实际工作 - 它不工作在Mac OS X上。使用EDITOR,它应该工作得很好。
I must be missing something stupid! It works fine when I use the -m option.
$ echo $SVN_EDITOR
emacs
$ svn commit test.py
svn: Commit failed (details to follow):
svn: Could not use external editor to fetch log message; consider setting the $SVN_EDITOR envirionment variable or using the --message (-m) or --file (-F) options
svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set, and no 'editor-cmd' run-time configuration option was found
解决方案
I have never seen a platform where SVN_EDITOR actually works -- it doesn't work on Mac OS X either. Use EDITOR, it should work fine.
这篇关于为什么不能在cygwin中使用$ SVN_EDITOR环境变量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文