private void addRepositoriesWithoutChanges(@NotNull Map<HgRepository, Set<HgFile>> repositoryMap, @NotNull CommitContext commitContext) {
    HgRepositoryManager repositoryManager = getRepositoryManager(myProject);

    for (VcsRoot root : getCommitWithoutChangesRoots(commitContext)) {
      HgRepository repository = root.getVcs() == myVcs ? repositoryManager.getRepositoryForRoot(root.getPath()) : null;

      if (repository != null && !repositoryMap.containsKey(repository)) {
        repositoryMap.put(repository, emptySet());
      }
    }
  }
private void addRepositoriesWithoutChanges(@NotNull Map<HgRepository, Set<HgFile>> repositoryMap, @NotNull CommitContext commitContext)