String (@NotNull VirtualFile dir) { try { final Info info1 = new RepeatSvnActionThroughBusy() { @Override protected void executeImpl() { myT = myVcs.getInfo(virtualToIoFile(dir)); } }.compute(); if (info1 == null || info1.getRepositoryId() == null) { // go deeper if current parent was added (if parent was added, it theoretically could NOT know its repo UUID) final VirtualFile parent = dir.getParent(); if (parent == null) { return null; } if (isPendingAdd(parent)) { return getRepositoryUUID(parent); } } else { return info1.getRepositoryId(); } } catch (VcsException e) { // go to return default } return null; }