void (String pathWithRevisionNumber, @NotNull MergeRangeList mergeRangeList) { Set<Long> revisions = new HashSet<>(); Set<Long> nonInheritableRevisions = new HashSet<>(); for (MergeRange range : mergeRangeList.getRanges()) { // TODO: Seems there is no much sense in converting merge range to list of revisions - we need just implement smart search // TODO: of revision in sorted list of ranges ContainerUtil.addAll(range.isInheritable() ? revisions : nonInheritableRevisions, range.getRevisions()); } myPathMergedMap.put(pathWithRevisionNumber, revisions); if (!nonInheritableRevisions.isEmpty()) { myNonInheritablePathMergedMap.put(pathWithRevisionNumber, nonInheritableRevisions); } }