SVNRepository repository = null;
try {
repository = createRepository(url, null, null, false);
repository.assertServerIsMergeInfoCapable(path.toString());
} finally {
repository.closeSession();
}
SVNURL reposRoot = getReposRoot(path, null, pegRevision, adminArea, wcAccess);
if (repositoryRoot != null && repositoryRoot.length > 0) {
repositoryRoot[0] = reposRoot;