原来只需要,提交的时候不指定 -m ,也不指定 -F就可以了,提交之前,svn会自动弹出编辑框来,可以修改信息。
https://stackoverflow.com/questions/17468918/svn-commit-with-a-newline-in-message
-----------------------------------------
alternatively, just do not specify -m
(and not -F
) and you will be shown an editor where you can type your message:
Send changes from your working copy to the repository. If you do not supply a log message with your commit by using either the --file (-F) or --message (-m) option, svn will launch your editor for you to compose a commit message. See the editor-cmd list entry in the section called “Config”.
http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.commit.html