.setReflogPrefix(REFLOG_PREFIX).setStrategy(strategy) .call(); switch (cherryPickResult.getStatus()) { case FAILED: if (operation == Operation.BEGIN)
switch (cherryPickResult.getStatus()) { case FAILED: if (operation == Operation.BEGIN)
boolean rollback) throws GitAPIException, IOException { if (result.getStatus() == CherryPickResult.CherryPickStatus.CONFLICTING) { Activator.log2(LogService.LOG_WARNING, "Problem with applying the change " + commit.getName() + ":");
boolean rollback) throws GitAPIException, IOException { if (result.getStatus() == CherryPickResult.CherryPickStatus.CONFLICTING) { Activator.log2(LogService.LOG_WARNING, "Problem with applying the change " + commit.getName() + ":");
@Override protected IStatus run(IProgressMonitor monitor) { try { op.execute(monitor); CherryPickResult cherryPickResult = op.getResult(); RevCommit newHead = cherryPickResult.getNewHead(); if (newHead != null && cherryPickResult.getCherryPickedRefs().isEmpty()) showNotPerformedDialog(parent); if (newHead == null) { CherryPickStatus status = cherryPickResult.getStatus(); switch (status) { case CONFLICTING: showConflictDialog(parent); break; case FAILED: showFailure(cherryPickResult); break; case OK: break; } } } catch (CoreException e) { Activator.logError( UIText.CherryPickOperation_InternalError, e); } return Status.OK_STATUS; }
.setReflogPrefix(REFLOG_PREFIX).setStrategy(strategy) .call(); switch (cherryPickResult.getStatus()) { case FAILED: if (operation == Operation.BEGIN)
.setReflogPrefix(REFLOG_PREFIX).setStrategy(strategy) .call(); switch (cherryPickResult.getStatus()) { case FAILED: if (operation == Operation.BEGIN)
switch (cherryPickResult.getStatus()) { case FAILED: if (operation == Operation.BEGIN)
switch (cherryPickResult.getStatus()) { case FAILED: if (operation == Operation.BEGIN)