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

Problem with diff format in Chinese locale

From: David Sitsky <david.sitsky_at_gmail.com>
Date: 2007-08-16 01:43:18 CEST

Hi there,

I received a diff file from a Chinese user of Subversion, the relevant
bit is as follows, which is the end of one diff segment, and the start
of another:

\ 在文件
 末尾没有新行Index: src/file.cpp

The Chinese is the translation of "No newline at end of file".

My question is, why does this sentence have a newline in the middle of
it? Also the "Index:" text doesn't start at the beginning of a

To be properly formatted as a diff, I would have thought this should be:

\ 在文件末尾没有新行
Index: src/file.cpp

Is this a bug?

This came up, as I am the author of Codestriker, which is a web
application for code reviewing. As input, it can receive diff files
from different SCMs, including Subversion. This diff came up which it
couldn't parse, because of this extra newline.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 16 01:41:18 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.