升华文本3在对大文件应用更改时会中断mercurial提交

升华文本3在对大文件应用更改时会中断mercurial提交,mercurial,sublimetext2,sublimetext,sublimetext3,tortoisehg,Mercurial,Sublimetext2,Sublimetext,Sublimetext3,Tortoisehg,我正在处理一个35k行的文件。如果我在文件中的任何地方只添加一行,mercurial提交就会中断。发生的情况如下: -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.

我正在处理一个35k行的文件。如果我在文件中的任何地方只添加一行,mercurial提交就会中断。发生的情况如下:

-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中做同样的更改,一切都正常。

没关系,这是Ortoise hg的问题,我需要将其设置为忽略空白。奇怪的是,vim仍然没有出现这种情况。

如果您发布确切的原因和解决方案,或者只是删除您的问题,这会更有用。我想,另一个问题是由有史以来最有害的发明DOS行结尾引起的!