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

cvs2svn.py: Bug in Logmessages

From: Volker Goetz <goetz_at_sectionone.de>
Date: 2002-11-08 23:34:10 CET

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I've just imported and existing CVS repository with cvs2svn.py and
discoverd two bugs.

1. Special non-ASCII characters like german umlauts (ä,ö,ü,ß - i.e. &auml;
&ouml; &uuml; &szlig; in HTML entities) are not encoded correctly.

cvs log <FILE> shows some strange characters
cvs --xml log <FILE> shows the umlauts in cleartext (i.e. ä) instead of
UTF-8 encoding

Example:

- --------------------- snip ---------------------
CVS original log:
Ergänzung um Protokolle, Parameter BenutzerId

svn --xml log:
<?xml version="1.0" encoding="utf-8"?>
<log>
<logentry
   revision="710">
<author>volker</author>
<date>2002-08-23T11:48:58.000000Z</date>
<msg>Ergänzung um Protokolle, Parameter BenutzerId
</msg>
</logentry>

svn log:
- ------------------------------------------------------------------------
rev 710: volker | 2002-08-23 13:48:58 +0200 (Fre, 23 Aug 2002) | 2 lines

Erg?\228nzung um Protokolle, Parameter BenutzerId
- --------------------- snip ---------------------

Using umlauts when in the log message with the command line svn just works
fine and as expected:

- --------------------- snip ---------------------
<logentry
   revision="1">
<author>volker</author>
<date>2002-11-08T21:46:57.494669Z</date>
<msg>Verzeichnis trunk ergänzt</msg>
</logentry>

Verzeichnis trunk ergänzt
- --------------------- snip ---------------------

2. Log messages are corrupted, the output stops with an XML error:

[volker@osiris ~/work/test/trunk/oracle]$ svn log
package-body-vdatabase.sql
- ------------------------------------------------------------------------
rev 852: volker | 2002-11-07 15:14:20 +0100 (Don, 07 Nov 2002) | 4 lines

Ge?\228nderte Funktionen:
  - insert_kgrp_node, update_kgrp_node, Kgrp-Copy-Funktionen
    Parameter pKgrpRabattfaktor erg?\228nzt

svn: RA layer request failed
svn: REPORT request failed on /repos/CStahl/trunk/oracle
svn: The REPORT request returned invalid XML in the response: XML parse
error at line 18: not well-formed (invalid token).
(/repos/CStahl/trunk/oracle)

Volker Götz

- ---------------------------------------------------------------
section(one Mail goetz@sectionone.de
Dipl.-Inform. Univ. Web http://www.sectionone.de/
Volker Götz Tel. 0931/61 94 94-0
Unterer Weg 26 Fax 0931/61 94 94-15
97084 Würzburg PGP 4FEB1C34 @ wwwkeys.de.pgp.net
- ---------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9zDviWM9gHU/rHDQRAv3YAJ9HSrRcbaF4kheEk/5nN9aCTsZkkACfdGPl
7dzY5SD2LpRRn1s3yD3X4h0=
=wnK/
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 8 23:34:53 2002

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.