commit: end "Aborting commit" message with a newline
This commit is contained in:
parent
0ccc15089b
commit
3c100af8d2
2
jsvn
2
jsvn
@ -1734,7 +1734,7 @@ def commit_h(argv, svn, out, config):
|
|||||||
commit_message += line + "\n"
|
commit_message += line + "\n"
|
||||||
commit_message = commit_message.rstrip()
|
commit_message = commit_message.rstrip()
|
||||||
if commit_message == "":
|
if commit_message == "":
|
||||||
out.write("Aborting commit due to empty commit message.")
|
out.write("Aborting commit due to empty commit message.\n")
|
||||||
else:
|
else:
|
||||||
commit_file_fh = open(commit_file_fname, 'w')
|
commit_file_fh = open(commit_file_fname, 'w')
|
||||||
commit_file_fh.write(commit_message)
|
commit_file_fh.write(commit_message)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user