WCInfoWithBranches (@NotNull WCInfo info) { if (!info.getFormat().supportsMergeInfo()) { return null; } final String url = info.getUrl().toString(); if (myLocation != null && !myLocation.toPresentableString().startsWith(url) && !url.startsWith(myLocation.toPresentableString())) { return null; } if (!SvnUtil.checkRepositoryVersion15(myVcs, info.getUrl())) { return null; } // check of WC version RootUrlInfo rootForUrl = myVcs.getSvnFileUrlMapping().getWcRootForUrl(info.getUrl()); return rootForUrl != null ? createInfoWithBranches(info, rootForUrl) : null; }