use of org.zmlx.hg4idea.ui.HgMergeDialog in project intellij-community by JetBrains.
the class HgMerge method execute.
@Override
public void execute(@NotNull final Project project, @NotNull final Collection<HgRepository> repos, @Nullable final HgRepository selectedRepo) {
final HgMergeDialog mergeDialog = new HgMergeDialog(project, repos, selectedRepo);
if (mergeDialog.showAndGet()) {
final String targetValue = StringUtil.escapeBackSlashes(mergeDialog.getTargetValue());
final HgRepository repo = mergeDialog.getRepository();
HgMergeCommand.mergeWith(repo, targetValue, UpdatedFiles.create());
}
}
Aggregations