HgCommandExitCode (@NotNull VirtualFile repo, @NotNull ProgressIndicator indicator) { indicator.setText2(HgBundle.message("hg4idea.progress.pull.with.update")); HgPullCommand hgPullCommand = new HgPullCommand(project, repo); final String defaultPath = HgUtil.getRepositoryDefaultPath(project, repo); hgPullCommand.setSource(defaultPath); return hgPullCommand.executeInCurrentThread(); }