commit: end "Aborting commit" message with a newline

This commit is contained in:
Josh Holtrop 2016-01-04 15:08:41 -05:00
parent 0ccc15089b
commit 3c100af8d2

2
jsvn
View File

@ -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)