final Ref<SVNException> excRef = new Ref<SVNException>();
ProgressManager.getInstance().runProcessWithProgressSynchronously(new Runnable() {
public void run() {
SVNRepository repos = null;
try {
<BUG>repos = SvnVcs.getInstance(project).getSvnKitManager().createRepository(urlString);
result.set(repos.getRepositoryRoot(true));
} catch (SVNException e) {
excRef.set(e);
} finally {
if (repos != null) {</BUG>
repos.closeSession();

final Ref<SVNException> excRef = new Ref<SVNException>();
ProgressManager.getInstance().runProcessWithProgressSynchronously(new Runnable() {
public void run() {
SVNRepository repos = null;
try {
repos = SvnVcs.getInstance(project).getSvnKitManager().createRepository(url);
result.set(repos.getRepositoryRoot(true));
