Task #151 has been updated.
Project: LrdeTools
Subproject: prcs2svn
Summary: bug report svn
Complete: 100%
Status: Closed
Description: Isolate the bug which appeared in tc: a checkin using file:// with a log
containing special chars is badly interpreted when you try to get it via http (i.e. svn
checkout http://...).
Follow-Ups:
-------------------------------------------------------
Date: 19/07/2004 19:48
By: odou_s
Comment:
From: Simon Odou <simon(a)lrde.epita.fr>
To: dev(a)subversion.tigris.org
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
(
http://localhost)
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$
$
^A$
------------------------------------------------------------------------$
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.
-------------------------------------------------------
For more info, visit:
http://gforge.lrde.epita.fr/pm/task.php?func=detailtask&project_task_id…