void () { if (!success.isNull()) { String title = SvnBundle.message("compare.with.branch.diff.title"); String title1 = remoteTitleBuilder.toString(); String title2 = myVirtualFile.getPresentableUrl(); try { DiffContent content1 = DiffContentFactory.getInstance().createFromBytes(myProject, content.get(), myVirtualFile); DiffContent content2 = DiffContentFactory.getInstance().create(myProject, myVirtualFile); DiffRequest request = new SimpleDiffRequest(title, content1, content2, title1, title2); DiffManager.getInstance().showDiff(myProject, request); } catch (IOException e) { reportGeneralException(e); } } }