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

Re: [PATCH][repost] Don't add extra blank line to log messages

From: <kfogel_at_collab.net>
Date: 2004-03-29 17:43:19 CEST

Patrik Rådman <pradman@abo.fi> writes:
> The output from $EDITOR contains this:
>
> ---------start cut'n'paste---------
> Oneliner comment
> --This line, and those below, will be ignored--
>
> M foobar
> ----------end cut'n'paste----------
>
> So, the current code removes the comments at the end, but leaves a
> newline. That is what my patch tries to fix.

Sure. My point was, you could remove every character from after the
word "comment" to the end of the file, *including* the newline that
separates "comment" from "--This line...", and then you'd get the same
behavior. If you rely on Subversion's own stripping code, then it
will leave that newline in.

So there is a consistency here.

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 29 18:55:00 2004

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

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