我一定是想念一些愚蠢的东西!当我使用-m选项时,它工作正常.
$ 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
Run Code Online (Sandbox Code Playgroud)
use*_*r_v 11
虽然这是一个cygwin问题,但我想在使用svn命令行(collabnet)时在Windows命令行中声明,你可以使用以下内容
set SVN_EDITOR=notepad.exe
Run Code Online (Sandbox Code Playgroud)
我正在说这个听,因为它可能对Windows用户有帮助,并且在其他SO问题上没有找到与此相关的任何其他内容.
| 归档时间: |
|
| 查看次数: |
27933 次 |
| 最近记录: |