@Override
  public HgPushSource getSource(@NotNull HgRepository repository) {
    String localBranch = repository.getCurrentBranchName();
    if (localBranch == null) return null;
    return new HgPushSource(localBranch);
  }
@Override
  public HgPushSource getSource(@NotNull HgRepository repository)