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

"200 OK" error caused by non-ASCII characters?

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Sun, 18 Oct 2009 21:33:01 +0200

Repo URL: http://svn.des.no/svn/openpam
Server: FreeBSD 7.2, Apache 2.2.13, Subversion 1.6.5

Client: FreeBSD 7.2, Subversion 1.6.5 with ra_neon:

% svn log -r30 http://svn.des.no/svn/openpam | wc -l
       7
% svn log -r31 http://svn.des.no/svn/openpam | wc -l
svn: REPORT of '/svn/openpam/!svn/bc/31': 200 OK (http://svn.des.no)
       0
% svn log -r32 http://svn.des.no/svn/openpam | wc -l
       9

Client: Ubuntu Hardy, Subversion 1.5.1 with ra_neon:

% svn log -r30 http://svn.des.no/svn/openpam | wc -l
7
% svn log -r31 http://svn.des.no/svn/openpam | wc -l
svn: REPORT of '/svn/openpam/!svn/bc/31': 200 OK (http://svn.des.no)
0
% svn log -r32 http://svn.des.no/svn/openpam | wc -l
9

Client: FreeBSD 9.0, Subversion 1.6.5 with ra_serf:

% svn log -r30 http://svn.des.no/svn/openpam | wc -l
       7
% svn log -r31 http://svn.des.no/svn/openpam | wc -l
svn: XML parsing failed: (200 OK)
       0
% svn log -r32 http://svn.des.no/svn/openpam | wc -l
       9

It so happens that the log message for revision 31 contains an ISO8859-1
character. It is not the only such revision in the repo, but it is the
first. In the other direction, a plain 'svn log' stops at revision 191,
because the log message for revision 190 also contains ISO8859-1
characters.

Obiously, filtering a dump through iconv is not going to work, since the
size of the log messages (and anything else that might contain non-ASCII
characters) will change. I could write a script that fixed both the log
messages and the lengths, but I'd rather not, unless there is no other
solution.

Any suggestions?

DES

-- 
Dag-Erling Smørgrav - des_at_des.no
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2408704
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-18 21:33:55 CEST

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.