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

RE: Re: Corrupt log message in repository

From: Garrick Olson <Garrick.Olson_at_Aceva.com>
Date: 2004-03-01 09:25:24 CET

This still seems like an svn bug to me. Shouldn't the *server* enforce
any of these kinds of conventions a client must follow?

As a repository owner, it is difficult for me to control what clients
are being used, and I would expect the server to prevent repository
corruption even by potentially adversarial clients.

--- Ben Reser wrote:
Okay that's what I was thinking this might be. This is a TortoiseSVN
bug. Per our documentation the log message must be UTF-8 with LF line
endings:

http://svn.collab.net/svn-doxygen/svn__client_8h.html#a10

TortoiseSVN should either convert to the proper format or error out.
They can handle that by using svn_subst_translate_string() like the
command line client does in svn_cl__get_log_message():
http://svn.collab.net/repos/svn/trunk/subversion/clients/cmdline/util.c

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 1 09:24:32 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.