boolean (@NotNull String workingCopyRelativePath, @NotNull Map<String, MergeRangeList> mergedPathsMap) { boolean processed = false; boolean isCurrentPath = workingCopyRelativePath.equals(mySourceRelativePath); if (mergedPathsMap.isEmpty()) { myIsMerged = false; processed = true; } else { String mergedPathAffectingSourcePath = find(mergedPathsMap.keySet(), path -> Url.isAncestor(myRepositoryRelativeSourcePath, ensureStartSlash(path))); if (mergedPathAffectingSourcePath != null) { MergeRangeList mergeRangeList = mergedPathsMap.get(mergedPathAffectingSourcePath); processed = true; myIsMerged = exists(mergeRangeList.getRanges(), range -> range.contains(myRevisionNumber) && (range.isInheritable() || isCurrentPath)); } } return processed; }