I would like to do
svn commit -m "<message>"
But message should have two lines:
Commit by: firstuser
Bug track: 9283
How to add new line character into message? I've tried SHIFT+ENTER, CTRL+T but it does not work. I use MS cmd command line.
I would like to do
svn commit -m "<message>"
But message should have two lines:
Commit by: firstuser
Bug track: 9283
How to add new line character into message? I've tried SHIFT+ENTER, CTRL+T but it does not work. I use MS cmd command line.
The Problem is that "enter" (Ascii 13) sends the command. So you need a "newline"
use alt + 10 (press alt, type the number at the numberblock, release alt)
How about using the -F parameter to get the log message from a file?
Then, you could do this (untested):
ECHO Commit by: firstuser>SvnLog.txt
ECHO Bug track: 9283>>SvnLog.txt
SVN COMMIT -F SvnLog.txt
I found the answer over at Serverfault:
svn ci -m $'This is the first line\nThis is the second line'
Apparently it's a shell-problem.