use of org.jetbrains.idea.svn.history.SimplePropertyRevision in project intellij-community by JetBrains.
the class SvnChangeProviderContext method createPropertyRevision.
@Nullable
private ContentRevision createPropertyRevision(@NotNull Change change, @NotNull File file, boolean isBeforeRevision) throws SVNException {
FilePath path = ChangesUtil.getFilePath(change);
ContentRevision contentRevision = isBeforeRevision ? change.getBeforeRevision() : change.getAfterRevision();
SVNRevision revision = isBeforeRevision ? SVNRevision.BASE : SVNRevision.WORKING;
return new SimplePropertyRevision(getPropertyList(myVcs, file, revision), path, getRevisionNumber(contentRevision));
}
Aggregations