MergeCheckResult (@NotNull SvnChangeList list, @NotNull String branchPath) { final Info info = myVcs.getInfo(new File(branchPath)); if (info == null || info.getUrl() == null || !isAncestor(myBranch.getUrl(), info.getUrl())) { return MergeCheckResult.NOT_MERGED; } MultiMap<MergeCheckResult, String> result = checkPaths(list, branchPath, info.getUrl()); if (result.containsKey(MergeCheckResult.NOT_EXISTS)) { return MergeCheckResult.NOT_EXISTS; } if (result.containsKey(MergeCheckResult.NOT_MERGED)) { myPartlyMerged.put(list.getNumber(), result.get(MergeCheckResult.NOT_MERGED)); return MergeCheckResult.NOT_MERGED; } return MergeCheckResult.MERGED; }