[hg] rename hg clone command execution

This commit is contained in:
Nadya Zabrodina
2016-03-09 14:29:17 +03:00
parent 1844804f0e
commit 43069b0de7
2 changed files with 2 additions and 2 deletions
@@ -27,7 +27,7 @@ public class HgCloneCommand {
}
@Nullable
public HgCommandResult execute() {
public HgCommandResult executeInCurrentThread() {
final List<String> arguments = new ArrayList<String>(2);
arguments.add(repositoryURL);
arguments.add(directory);
@@ -59,7 +59,7 @@ public class HgCheckoutProvider implements CheckoutProvider {
HgCloneCommand clone = new HgCloneCommand(project);
clone.setRepositoryURL(sourceRepositoryURL);
clone.setDirectory(targetDir);
cloneResult.set(clone.execute());
cloneResult.set(clone.executeInCurrentThread());
}
@Override