[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: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-07-22 02:38:55 CEST

kfogel@collab.net writes:

> At this point I've begun to suspect that two or more different
> problems are being combined here, and would appreciate a concise bug
> report that states exactly what is wrong with Subversion: what was the
> expected behavior, and what was the actual behavior?

Someone using the commit editor to create a commit message like

   one line
   --This line, and those below, will be ignored--
   
   _M .

creates a raw log message "one line\n", the patch removes the trailing
\n so that the raw log message is "one line".

Without the patch "svn log" displays something like

------------------------------------------------------------------------
r2 | pm | 2005-07-22 01:12:09 +0100 (Fri, 22 Jul 2005) | 2 lines

one line

------------------------------------------------------------------------

with the patch it would be

------------------------------------------------------------------------
r2 | pm | 2005-07-22 01:12:09 +0100 (Fri, 22 Jul 2005) | 1 line

one line
------------------------------------------------------------------------

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 22 02:40:11 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.