SVNRevision compareVersion = null;
if( mainPage.getStartVersion() > 0 ){
compareVersion = new SVNRevision.Number(mainPage.getStartVersion());
}
GeneratePreCommitDiffOperation generateDiffFileOperation = new GeneratePreCommitDiffOperation(
mainPageSelectedResources, unaddedAllResourceList, null, getShell(), compareVersion );
getContainer().run(true, true, generateDiffFileOperation);
fileDiffs = generateDiffFileOperation.getFileDiffs();
Map<String, StringBuilder> diffContentSBByCharset = generateDiffFileOperation.getDiffContentSBByCharset();
if( null != diffContentSBByCharset && !diffContentSBByCharset.isEmpty() && diffContentSBByCharset.size() > 1){
boolean isConfirm = MessageDialog.openConfirm(getShell(),
RbSubclipseMessages.getString("WARNING_LABLE"),
RbSubclipseMessages.getString("PROMPTING_ENCODING_0"));
if(!isConfirm){