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

Unrecognizable characters in patch file

From: Kevin Kang <siaview_at_163.com>
Date: Sun, 28 Aug 2011 19:44:27 -0700 (PDT)

Hi,

I created a patch file on my source code root folder with several files in subfolders modified. When I applied the patch on another computer, one of the files report an error that two lines do not match.
So I opened the patch file and saw this:

...........
@@ -1,5 +1,5 @@
 锘?/ Loop run mode for marathon test.
-#define ENABLE_LOOP_RUN
...........

The second line start with unrecognizable characters. In fact, it should be '// Loop ...'

Then I created a patch for the source file only, this time everything is ok. I don't know if this is a bug.

The file is UTF-8 format.
My OS is Windows XP Professional SP3(Chinese Simplified)
SW version:
TortoiseSVN 1.6.16, Build 21511 - 32 Bit , 2011/06/01 19:00:35
Subversion 1.6.17,
apr 1.3.12
apr-utils 1.3.12
neon 0.29.6
OpenSSL 1.0.0d 8 Feb 2011
zlib 1.2.5

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2832002

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-08-29 05:18:47 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.