Package com.google.gerrit.extensions.common

Examples of com.google.gerrit.extensions.common.RevisionInfo


    @Nullable
    @Override
    public String valueOf(ChangeInfo changeInfo) {
        String activeRevision = selectedRevisions.get(changeInfo);
        RevisionInfo revisionInfo = changeInfo.revisions.get(activeRevision);
        return getRevisionLabelFunction(changeInfo).apply(Pair.create(activeRevision, revisionInfo));
    }
View Full Code Here


            final VirtualFile virtualFile = gitRepository.getGitDir();
            final FilePathImpl filePath = new FilePathImpl(virtualFile);

            Map<String, RevisionInfo> revisions = selectedChange.revisions;
            final String revisionId = selectedRevisions.get(selectedChange);
            RevisionInfo currentRevision = revisions.get(revisionId);
            RevisionFetcher revisionFetcher = new RevisionFetcher(gerritUtil, gerritGitUtil, notificationService, project, gitRepository)
                    .addRevision(currentRevision);
            if (baseRevision.isPresent()) {
                revisionFetcher.addRevision(baseRevision.get().getSecond());
            }
View Full Code Here

TOP

Related Classes of com.google.gerrit.extensions.common.RevisionInfo

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.