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

svn log causes XML parse error (internal error)

From: Simon Odou <simon_at_lrde.epita.fr>
Date: 2004-07-19 19:41:41 CEST

For the same project, the svn behavior is different with "file://" and
"http://". Commits with particular log message can be rejected with "http" but
accepted with "file". Then the command "svn log" might fail.

$ svn co http://localhost/test && cd test
Checked out revision 0.
$ touch a && svn add a
A a
$ echo "a" >> a && svn ci -m `echo -ne "\0x1"`
svn: Commit failed (details follow):
svn: applying log message
to /test/!svn/wbl/0f562004-95df-0310-837a-e85ba3689386/0: 400 Bad Request

If you checkout your project using file system, then your commit is accepted:

$ svn co file:///svn/test && cd test
Checked out revision 0.
$ touch a && svn add a
A a
$ echo "a" >> a && svn ci -m `echo -ne "\0x1"`
Adding a
Transmitting file data .
Committed revision 1.

Using the file system, the svn log command succeed:

$ svn log | cat -e
No commit for revision 0.$
r1 | simon | 2004-07-19 19:01:53 +0200 (Mon, 19 Jul 2004) | 1 line$

But using http, it fails:

$ svn log
svn: REPORT request failed on '/test/!svn/bc/2'
svn: The REPORT request returned invalid XML in the response: XML parse error
at line 7: internal error. (/test/!svn/bc/2)

NB: it seems to be the same problem for most of special characters between 0x1
and 0x1f.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 19 19:42:34 2004

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.