ContentRevision (@NotNull FilePath path, @NotNull FilePath localPath, @NotNull Revision revision, @NotNull FileStatus status) { ContentRevision result; if (path.isNonLocal()) { // explicitly use local path for deleted items - so these items will be correctly displayed as deleted under local working copy node // and not as deleted under remote branch node (in ChangesBrowser) // NOTE, that content is still retrieved using remotePath. result = SvnRepositoryContentRevision.create(myVcs, path, status == FileStatus.DELETED ? localPath : null, revision.getNumber()); } else { result = CurrentContentRevision.create(path); } return result; }