RepositoryLocation (@NotNull FilePath root) { Info info = myVcs.getInfo(root.getIOFile()); return info != null && info.getUrl() != null ? new SvnRepositoryLocation(info.getUrl(), info.getRepositoryRootUrl(), root) : null; }