This seemed to be posted twice, and Mike Pilato already responded to
the first one, but I'll respond here just to make sure:
Patrik Rådman <pradman@abo.fi> writes:
> I didn't receive any comments to the first posting of this patch, so here
> it is again, this time with commented code and a better explanation: :)
>
> If you commit with 'svn ci . -m "Oneliner comment"' you get this:
>
> ------------------------------------------------------------------------
> r18 | patrik | 2004-03-26 20:52:58 +0200 (Fri, 26 Mar 2004) | 1 line
>
> Oneliner comment
> ------------------------------------------------------------------------
>
> ...but if you enter the log message via $EDITOR, you get this:
>
> ------------------------------------------------------------------------
> r19 | patrik | 2004-03-26 20:53:45 +0200 (Fri, 26 Mar 2004) | 2 lines
>
> Oneliner comment
>
> ------------------------------------------------------------------------
>
> The patch below removes the extra blank line.
No need for a patch -- this is almost certainly pilot error.
The first log message (from the command line) does not contain a
newline. The second one (made with $EDITOR) does. If you make
*absolutely sure* that your editor saves the log message without any
newline -- some editors automatically ensure one at the end of a file,
so be careful! -- then you will see the 'svn log' output is the same
as with the -m"Oneliner comment" method.
Hope this helps,
-Karl
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Mar 28 01:47:20 2004