我想要做
svn commit -m "<message>"
Run Code Online (Sandbox Code Playgroud)
但是消息应该有两行:
Commit by: firstuser
Bug track: 9283
Run Code Online (Sandbox Code Playgroud)
如何在邮件中添加换行符?我尝试过SHIFT + ENTER,CTRL + T但它不起作用.我使用MS cmd命令行.
我一定是想念一些愚蠢的东西!当我使用-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)