boolean (@NotNull SvnVcs vcs, @NotNull Url url) { // Merge info tracking is supported in repositories since svn 1.5 (June 2008) - see http://subversion.apache.org/docs/release-notes/. // But still some users use 1.4 repositories and currently we need to know if repository supports merge info for some code flows. boolean result = false; try { result = vcs.getFactory().createRepositoryFeaturesClient().supportsMergeTracking(url); } catch (VcsException e) { LOG.info(e); // TODO: Exception is thrown when url just not exist (was deleted, for instance) => and false is returned which seems not to be correct. } return result; }