private @Nullable HgCommandResult performRebase(@NonNls String @NotNull ... args) {
    try (AccessToken ignore = DvcsUtil.workingTreeChangeStarted(project, HgBundle.message("activity.name.rebase"), HgActivity.Rebase)) {
      final List<String> list = ContainerUtil.concat(List.of(args),
      List.of("--config", "extensions.rebase="));
      HgCommandResult result =
        new HgCommandExecutor(project)
          .executeInCurrentThread(repo.getRoot(), "rebase", list);
      repo.update();
      return result;
    }
  }
private @Nullable HgCommandResult performRebase(@NonNls String @NotNull ... args)