@Nullable
  private VirtualFile getVirtualFileForRoot(@Nullable FilePath rootPath) {
    if (rootPath == null) return null;

    REPO_LOCK.readLock().lock();
    try {
      return myPathToRootMap.get(rootPath.getPath());
    }
    finally {
      REPO_LOCK.readLock().unlock();
    }
  }
@Nullable
  private VirtualFile getVirtualFileForRoot(@Nullable FilePath rootPath)