Examples of CommitInfo


Examples of org.apache.jackrabbit.oak.spi.commit.CommitInfo

            throw new MicroKernelException(
                    "Branch not found: " + branchRevisionId);
        }

        try {
            CommitInfo info =
                    new CommitInfo(CommitInfo.OAK_UNKNOWN, null);
            NodeState newRoot =
                    store.merge(revision.branch, CONFLICT_HOOK, info);
            if (!newRoot.equals(head.root)) {
                head = new Revision(head, newRoot, message);
                revisions.put(head.id, head);
View Full Code Here

Examples of org.apache.jackrabbit.oak.spi.commit.CommitInfo

    @Override
    public void commit(Map<String, Object> info) throws CommitFailedException {
        checkLive();
        ContentSession session = getContentSession();
        CommitInfo commitInfo = new CommitInfo(
                session.toString(), session.getAuthInfo().getUserID(), info);
        store.merge(builder, getCommitHook(), commitInfo);
        secureBuilder.baseChanged();
        modCount = 0;
        if (permissionProvider.hasValue()) {
View Full Code Here

Examples of org.apache.jackrabbit.oak.spi.commit.CommitInfo

    @Override
    public void commit(@Nullable String message, @Nullable CommitHook hook)
            throws CommitFailedException {
        checkLive();
        ContentSession session = getContentSession();
        CommitInfo info = new CommitInfo(
                session.toString(),
                session.getAuthInfo().getUserID(),
                permissionProvider.get(), moveTracker, message);
        base = store.merge(builder, getCommitHook(hook, info), info);
        secureBuilder.baseChanged();
View Full Code Here

Examples of org.eclipse.egit.ui.internal.commit.CommitHelper.CommitInfo

    updateSignedOffButton();
    updateChangeIdButton();
  }

  private void getHeadCommitInfo() {
    CommitInfo headCommitInfo = CommitHelper.getHeadCommitInfo(repository);
    RevCommit previousCommit = headCommitInfo.getCommit();

    amendingCommitInRemoteBranch = isContainedInAnyRemoteBranch(previousCommit);
    previousCommitMessage = headCommitInfo.getCommitMessage();
    previousAuthor = headCommitInfo.getAuthor();
  }
View Full Code Here

Examples of org.eclipse.egit.ui.internal.commit.CommitHelper.CommitInfo

    return headCommit;
  }

  public static void checkHeadCommit(Repository repository, String author,
      String committer, String message) throws Exception {
    CommitInfo commitInfo = CommitHelper.getHeadCommitInfo(repository);
    assertEquals(author, commitInfo.getAuthor());
    assertEquals(committer, commitInfo.getCommitter());
    assertEquals(message, commitInfo.getCommitMessage());
  }
View Full Code Here

Examples of org.guvnor.asset.management.backend.model.CommitInfo

            if (startCommitDate != null && startCommitDate.after(commitDate)) {
                break;
            }

            List<String> files = getFilesInCommit(fs.gitRepo().getRepository(), JGitUtil.resolveObjectId(fs.gitRepo(), commit.id()));
            CommitInfo commitInfo = new CommitInfo(commit.id(), shortMessage, commit.author(), commitDate, files);
            commits.add(commitInfo);
            logger.debug("Found commit {}", commitInfo);

        }
View Full Code Here

Examples of org.uberfire.java.nio.fs.jgit.CommitInfo

                               final String message,
                               final TimeZone timeZone,
                               final Date when,
                               final boolean amend,
                               final Map<String, File> content ) {
        commit( git, branchName, new CommitInfo( null, name, email, message, timeZone, when ), amend, new DefaultCommitContent( content ) );
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.