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

Re: [PROPOSAL] enforce log messages as series of lines

From: Molle Bestefich <molle.bestefich_at_gmail.com>
Date: 2006-03-06 10:55:05 CET

kfogel@collab.net wrote:
> THE PROPOSAL:
> -------------
>
> Subversion should enforce that a log message is a series of lines of
> UTF8 text. A "line" is a series of zero or more non-newline
> characters (qualified by whatever other restrictions we currently put
> on log messages), followed by a single newline. Thus, every log
> message would end with a single newline.

I think TSVN already does something like this?

I think it strips all preceding and terminating newlines in log messages.

(Seemed odd to me at first since I would personally have liked to
preserve a terminating newline. Anyway, got used to it pretty quick,
nice to see consistency enforced. And it probably saves a byte of
storage per log message :-).)

If I'm right, and TSVN strips the last newline also, perhaps it's
worth doing the same (= NOT enforcing a trailing newline, but
enforcing removing it) in the client libraries, just to keep log
messages in "TSVN repositories" consistent when/if this new feature is
introduced..

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 6 10:56:07 2006

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.