http://subversion.tigris.org/issues/show_bug.cgi?id=2906
Issue #|2906
Summary|Invalid diff format under Chinese
locale
Component|subversion
Version|1.4.x
Platform|All
URL|
OS/Version|All
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|libsvn_diff
Assigned to|issues subversion
Reported by|sits
------- Additional comments from sits tigris.org Mon Sep 3
15:03:32 -0700 2007 -------
This issue was first reported on the user mailing list:
http://svn.haxx.se/users/archive-2007-08/0427.shtml.
For convenience, here is the text of the message again:
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:
#endif
在文件
末尾没有新行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
newline.
To be properly formatted as a diff, I would have thought
this should be:
#endif
在文件末尾没有新行
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.
Cheers,
David
------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribe subversion.tigris.org
For additional commands, e-mail: issues-help subversion.tigris.org
|