Url (@NotNull File file) { Url result = null; RootUrlInfo rootUrlInfo = getWcRootForFilePath(getFilePath(file)); if (rootUrlInfo != null) { try { result = append(rootUrlInfo.getUrl(), getRelativePath(rootUrlInfo.getPath(), file.getAbsolutePath())); } catch (SvnBindException e) { LOG.info(e); } } return result; }