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

Re: [PATCH] truncate EDITOR_EOF_PREFIX with previous EOL

From: <kfogel_at_collab.net>
Date: 2005-07-20 20:41:32 CEST

Greg Hudson <ghudson@MIT.EDU> writes:
> Well, I was expressing a preference, so I didn't try to make a formal
> argument. I thought the argument for my preference was fairly obvious:
> in the ideal case, svn:log properties should be thought of as a series
> of lines, and we should ensure that they are by requiring that they have
> a final newline.
>
> Since we can't (or at least don't want to) modify the svn:log properties
> of existing repositories, we would also append a final newline in the
> display code to svn:log properties which don't have one.

On a related note:

For Subversion's repository, how hard would it be to write a
pre-commit script that takes the log msg from the txn, removes all
leading and trailing blank lines and guarantees that the log message
ends with a single newline, and writes it back to the txn before the
commit? About fifteen minutes? Thirty? :-)

Not that I've started this, but if someone did, would we be fine with
it?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 20 21:32:39 2005

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.