/*History Post-commit 有两种情况:
* (1)右键Team,显示资源历史记录
* (2)尽可能支持 从SVN资源库直接打开历史记录的情况(这种情况下无法获得IResource)
* 对于情况2:由于无法获得IResource,因此必须用下面的特殊方式处理。
*/
GeneratePostDiffBySVNUrlOperation generatePostDiffBySVNUrlOperation = new GeneratePostDiffBySVNUrlOperation(
null, !this.getSvnHistoryUrlIsFolder(), startAndStop[0], startAndStop[1],
this.getSvnHistoryUrl(), this.getSvnHistoryUrl());
getContainer().run(true, true, generatePostDiffBySVNUrlOperation);
fileDiffs = generatePostDiffBySVNUrlOperation.getFileDiffs();
diffUploadBaseUrl = this.getSvnHistoryUrlForBaseUpload();
}
else{
IResource[] mainPageSelectedResources = getResources();
if( null == mainPageSelectedResources || mainPageSelectedResources.length == 0 ){