Alan Barrett <apb@cequrux.com> writes:
> On Tue, 28 Feb 2006, kfogel@collab.net wrote:
> > On the other hand, I do favor enforcing the format of log messages on
> > the repository side instead (an idea first proposed by Greg Hudson, if
> > I remember correctly). In other words, on the repository side we'd do
> > the same thing: ensure there's always exactly one trailng newline on
> > the log message. This also munges the user's data, in the same way.
> > It would fix legacy svn:log properties too as necessary.
>
> Yes, please. I find it surprising that
>
> svn commit -m "message"
>
> does not behave like
>
> echo "message" >messagefile
> svn commit -F messagefile
Well, that just has to do with the behavior of echo, which appends a
newline by default. If you were to do
echo -n "message" > messagefile
svn commit -F messagefile
then you would get the same behavior as 'svn commit -m "message"'.
(Again, I'm not opposed to Subversion enforcing line conventions. I'm
just pointing out that the user-supplied data really did differ in
your two cases.)
-Karl
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 1 20:47:08 2006