【发布时间】:2012-10-16 14:43:09
【问题描述】:
首先,让我解释一下我在做什么。我有一个 CVS 存储库,其中存储了 5,000 个数据定义语言文件。这 5,000 个文件是从外部数据建模应用程序生成的,它们是文本并具有 Windows CRLF。在开发过程中,如果我需要进行更改,我会重新生成 5,000 个文件,然后在 eclipse 中覆盖我本地 CVS 工作区的内容。完全覆盖/替换是为了确保我不会错过任何文件更新。覆盖/替换文件后,我使用 eclipse 进行团队
Ignore whitespace option:
Causes the comparison to ignore differences which are whitespace characters
(spaces, tabs, etc.). Also causes differences in line terminators ( LF
versus CRLF) to be ignored.
当我在文本比较中打开文件时,它没有显示差异,但其中一个文件顶部有一个额外的 CRLF。这是一个错误还是我在 Eclipse 中缺少一个选项?看起来问题在于它不会忽略在自己的行上的 CRLF。
【问题讨论】:
标签: eclipse synchronization repository cvs