[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Extra blank line when using command line editor for commit message

From: Justin Mrkva <mail_at_justinmrkva.com>
Date: Mon, 21 Apr 2014 17:56:33 -0400

I use nano as the editor for command line commits. If I commit with the command line editor, Subversion adds an extra line to the commit. Observe:

justins-macbook-pro:copy1 justinmrkva$ svn log | head -n 15
------------------------------------------------------------------------
r16 | justinmrkva | 2014-04-21 17:50:06 -0400 (Mon, 21 Apr 2014) | 2 lines

Commit using nano as editor

------------------------------------------------------------------------
r15 | justinmrkva | 2014-04-21 17:49:16 -0400 (Mon, 21 Apr 2014) | 1 line

Commit with 3rd party GUI client
------------------------------------------------------------------------
r14 | justinmrkva | 2014-04-21 17:48:52 -0400 (Mon, 21 Apr 2014) | 1 line

Commit with -m option
------------------------------------------------------------------------

Notice that using `svn ci -m "message"` with a single line OR using a 3rd party GUI client (Cornerstone 2) both produce a single line commit message. But nano, with the “will be ignored” line as the NEXT line after the message, produces a commit with the extra line.

You can see in the screenshot here that there is no extra line between the message and the “will be ignored” line:

Is there a solution for this?

Justin
Received on 2014-04-21 23:57:08 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.