.setPushCertificate(rp.getPushCertificate()) .setAuthor(rp.getRefLogIdent()) .setMessage("push"); //$NON-NLS-1$ leader.queueProposal(proposal); if (proposal.isDone()) {
private void proposeKetch(final List<Command> n, final RevCommit _commit) throws IOException, InterruptedException { final Proposal proposal = new Proposal(n) .setAuthor(_commit.getAuthorIdent()) .setMessage("push"); git.getKetchLeader().queueProposal(proposal); if (proposal.isDone()) { // This failed fast, e.g. conflict or bad precondition. throw new GitException("Error"); } if (proposal.getState() == QUEUED) { waitForQueue(proposal); } if (!proposal.isDone()) { waitForPropose(proposal); } }
.setPushCertificate(rp.getPushCertificate()) .setAuthor(rp.getRefLogIdent()) .setMessage("push"); //$NON-NLS-1$ leader.queueProposal(proposal); if (proposal.isDone()) {
.setPushCertificate(rp.getPushCertificate()) .setAuthor(rp.getRefLogIdent()) .setMessage("push"); //$NON-NLS-1$ leader.queueProposal(proposal); if (proposal.isDone()) {