public List<HgRevisionNumber> executeInCurrentThread(String branch) {
    return new HeadsCommand(project, branch).executeInCurrentThread(repo);
  }
public List<HgRevisionNumber> executeInCurrentThread(String branch)