diff --git a/plugins/svn4idea/src/org/jetbrains/idea/svn/difftool/properties/SvnPropertiesDiffViewer.java b/plugins/svn4idea/src/org/jetbrains/idea/svn/difftool/properties/SvnPropertiesDiffViewer.java index d43c49c0d147..eeb365c3dd09 100644 --- a/plugins/svn4idea/src/org/jetbrains/idea/svn/difftool/properties/SvnPropertiesDiffViewer.java +++ b/plugins/svn4idea/src/org/jetbrains/idea/svn/difftool/properties/SvnPropertiesDiffViewer.java @@ -126,6 +126,10 @@ public class SvnPropertiesDiffViewer implements DiffViewer { String text1 = value1 != null ? value1.toString() : null; String text2 = value2 != null ? value2.toString() : null; + // TODO: show differences in line separators ? + if (text1 != null) text1 = StringUtil.convertLineSeparators(text1); + if (text2 != null) text2 = StringUtil.convertLineSeparators(text2); + List fragments = compareValues(text1, text2); return new PropertyDiffRecord(name, text1, text2, fragments); @@ -236,10 +240,6 @@ public class SvnPropertiesDiffViewer implements DiffViewer { @NotNull List fragments) { assert before != null || after != null; - // TODO: show differences in line separators ? - if (before != null) before = StringUtil.convertLineSeparators(before); - if (after != null) after = StringUtil.convertLineSeparators(after); - myName = name; myBefore = before; myAfter = after;