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

Re: patch newline in log messages

From: Olleg Samoylov <olleg_at_mipt.ru>
Date: 2006-03-01 12:42:37 CET

John Peacock wrote:
> Whether the *editor* appends a newline or not is up to the editor
> (indeed, some can be configured to not do so), but it essentially
> unknowable to Subversion. As such, it is impossible to come up with a
> single heuristic that covers all situations.

You are not right. I explain again and again. Look at common log message
in editor:

my log message\n
--This line, and those below, will be ignored--\n
\n
M a\n
EOF

Newline is added before EOF by mostly common editors. But this newline
is removed by subversion. Subversion keep newline before "--This line,
and those below, will be ignored--".

Please, read mail thread from the beginning before post new messages.

-- 
Olleg Samoylov

Received on Wed Mar 1 12:43:26 2006

This is an archived mail posted to the Subversion Dev mailing list.