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

Line-ending problems with log --xml

From: Garrick Olson <Garrick.Olson_at_Aceva.com>
Date: 2004-02-13 20:37:47 CET

I am seeing errors when I issue a log command with the --xml option, but
not when I omit that option. Here is an example:

$ svn --version | head -1
svn, version 0.37.0 (r8509)

[The server is Windows 2000 SP3 running the same version of svn]

$ svn log -r 217
------------------------------------------------------------------------
r217 | the.user | 2004-02-13 09:35:05 -0800 (Fri, 13 Feb 2004) | 5 lines

message
more message
more message

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

$ svn log --xml -r 217
<?xml version="1.0" encoding="utf-8"?>
<log>
svn: Inconsistent line-endings in source stream

The only thing that looks odd to me is that the first log command
indicates 5 lines, but looks as if it contains only 4 (assuming that
last blank line counts).

If I change the log message by setting the svn:log property on the
revision, everything works again. I am not sure exactly what it was
about the previous log message the caused the problem, but this seems
like a bug in the --xml option.
Received on Fri Feb 13 20:38:10 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.