@Override
  protected void actionPerformed(@NotNull final HgRepository repository, @NotNull Hash commit) {
    final Project project = repository.getProject();
    final VirtualFile root = repository.getRoot();
    FileDocumentManager.getInstance().saveAllDocuments();
    HgUpdateCommand.updateRepoTo(project, root, commit.asString(), null);
  }
@Override
  protected void actionPerformed(@NotNull final HgRepository repository, @NotNull Hash commit)