boolean (@Nullable Repository repository, @NotNull String sourceBranch, @NotNull DvcsBranchInfo targetInfo) { return StringUtil.equals(targetInfo.sourceName, sourceBranch) && getPathFor(repository).equals(targetInfo.repoPath); }