@Override
  public boolean validateRoot(@NotNull VirtualFile file) {
    return Files.exists(file.toNioPath().resolve(HgUtil.DOT_HG));
  }
@Override
  public boolean validateRoot(@NotNull VirtualFile file)