[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-02-29 09:44:52 CET

> Did you us cvs2svn to make the repo?

No.

> What clients have you used to make such commits?

I was able to reproduce the problem with TortoiseSVN 0.26.

Here is a recipe (Using Cygwin on XP SP1):

$ echo "abc" > msg
$ cat -A msg
abc^M$
$ echo "def" | dos2unix >> msg
$ cat -A msg
abc^M$
def$
$ svn commit -F msg
svn: Commit failed (details follow):
svn: Inconsistent line-endings in source stream

All looks good so far. Now if I:

- Open msg in Notepad
- Select all
- Copy
- Go to the Windows Explorer
- Right click and do TortoiseSVN commit
- Paste the commit message
- Hit okay

It commits with no error, and the corrupt message gets into the
repository.

Here is the contents of the TortoiseSVN about box:

TortoiseSVN 0.26.0, Build 665, UNICODE
Subversion 0.37.0, dev build
apr 0.9.5
apr-iconv 0.9.5
apr-utils 0.9.5
berkeley db 4.2.52
neon 0.24
OpenSSL 0.9.7b 10 Apr 2003
zlib 1.1.4

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Feb 29 09:44:03 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.