Package org.eclipse.egit.core.op

Examples of org.eclipse.egit.core.op.EditCommitOperation


    } catch (GitAPIException e) {
      Activator.logError(e.getMessage(), e);
      return null;
    }

    final EditCommitOperation op = new EditCommitOperation(repo, commit);

    JobUtil.scheduleUserWorkspaceJob(
        op,
        MessageFormat.format(UIText.EditHandler_JobName, commit.name()),
        JobFamilies.EDIT);
View Full Code Here


    super.tearDown();
  }

  @Test
  public void edit() throws Exception {
    EditCommitOperation op = new EditCommitOperation(
        testRepository.getRepository(), firstCommit);
    op.execute(new NullProgressMonitor());

    assertEquals(RepositoryState.REBASING_INTERACTIVE, testRepository
        .getRepository().getRepositoryState());

    List<RebaseTodoLine> todos = testRepository.getRepository()
View Full Code Here

TOP

Related Classes of org.eclipse.egit.core.op.EditCommitOperation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.