[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: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: 2006-03-01 23:46:08 CET

On 01 Mar 2006 14:09:28 -0600, kfogel@collab.net <kfogel@collab.net> wrote:
>
> THE HOOK ALTERNATIVE:
> ---------------------

+1. (We don't have to do a single thing to allow for this to be
implemented.)

> 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.

-1 (vote, not veto). Two principal reasons:

- We should never silently munge the user's UTF-8 commit message (such as
adding or removing newlines). We should do our best to respect the log as
provided to us.
- We should never silently retroactively 'reformat' historical log messages.

If this potential inconsistency bothers any one, they are free to install a
hook and change the svn:log revprops themselves. However, I don't see the
pressing need for us to enforce this behavior globally and to do so silently
without the ability to opt-out. A social solution enforced by hooks is far
better than having SVN play nanny and to try to enforce arbitrary rules when
there's no compelling reason to do so. -- justin
Received on Wed Mar 1 23:47:39 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.