@NotNull
  public static HgRepositoryFiles getInstance(@NotNull VirtualFile hgDir) {
    return new HgRepositoryFiles(hgDir);
  }
@NotNull
  public static HgRepositoryFiles getInstance(@NotNull VirtualFile hgDir)