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

Can not checkout revisions which author name rev property contains ASCII control characters

From: Alexander Sinyushkin <Alexander.Sinyushkin_at_svnkit.com>
Date: 2007-02-09 18:54:04 CET

Hello, SVN devs! I have recently encountered the following problem:
I tried to make a dir in a repository remotely and used an ASCII
control character ('\b' in particular) in my --username switch:

>svn mkdir file:///G:/materials/rep/test2 --username Sasha

Committed revision 442.

svn.exe committed without problems.

But when I tried to checkout what I had committed I got the following
error:

>svn co http://localhost/materials/rep/test2 test5 --username garry --password garry
svn: Malformed XML: not well-formed (invalid token) at line 6

I looked at the corresponding .svn/log file, not at the 6th but at the
5th line I found my author name:

<modify-entry
   committed-rev="442"
   committed-date="2007-02-09T16:36:17.937500Z"
   name=""
   last-author="Sasha"
   uuid="466bc291-b22d-3743-ba76-018ba5011628"/>
<modify-wcprop
   name=""
   propname="svn:wc:ra_dav:version-url"
   propval="/materials/rep/!svn/ver/442/test2"/>

It seems to me that the problem is in this backspace symbol. Is it
expected behaviour that svn.exe crashes attempting to parse the log
file?

-- 
Alexander Sinyushkin,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 9 18:49:52 2007

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.