void (@NotNull Url url, @NotNull Url branchUrl, @NotNull List<WCInfoWithBranches.Branch> branches, @NotNull Ref<WCInfoWithBranches.Branch> workingCopyBranch) { WCInfoWithBranches.Branch branch = new WCInfoWithBranches.Branch(branchUrl); if (!SvnUtil.isAncestor(branchUrl, url)) { branches.add(branch); } else { workingCopyBranch.set(branch); } }