我正在处理一个35k行文件。如果我在文件的任何位置只添加一行,我的mercurial commit就会中断。会发生什么如下:当对大文件应用更改时,崇高文本3打破了mercurial commit
-someSuperCode(); // it shows me that the following two lines have been removed.
-int counter = 0;
+someSuperCode(); // And right beneath it, it show me that these two lines have been added.
+int counter = 0;
这发生在文件中的每一行。这些示例行不是我添加的行,而是已经在文件中的行。我尝试过所有可能的崇高设置,例如在文件末尾添加换行符,将制表符转换为空格,在保存时删除空格,但这种情况经常发生,现在我已经不知道发生了什么。如果我在vim中进行相同的更改,则一切正常。
我想,另一个问题是有史以来最有害的发明,DOS行结局! – Ringding 2014-09-02 08:21:39