Examples of LogCommand


Examples of com.aragost.javahg.commands.LogCommand

    public final String getCommandName() {
        return "log";
    }

    public static LogCommand on(Repository repository) {
        return new LogCommand(repository);
    }
View Full Code Here

Examples of com.aragost.javahg.commands.LogCommand

    public final String getCommandName() {
        return "log";
    }

    public static LogCommand on(Repository repository) {
        return new LogCommand(repository);
    }
View Full Code Here

Examples of com.aragost.javahg.commands.LogCommand

    public final String getCommandName() {
        return "log";
    }

    public static LogCommand on(Repository repository) {
        return new LogCommand(repository);
    }
View Full Code Here

Examples of com.aragost.javahg.commands.LogCommand

    public final String getCommandName() {
        return "log";
    }

    public static LogCommand on(Repository repository) {
        return new LogCommand(repository);
    }
View Full Code Here

Examples of com.aragost.javahg.commands.LogCommand

    public final String getCommandName() {
        return "log";
    }

    public static LogCommand on(Repository repository) {
        return new LogCommand(repository);
    }
View Full Code Here

Examples of fr.neatmonster.nocheatplus.command.admin.log.LogCommand

                new RemovePlayerCommand(plugin),
                new TellCommand(plugin),
                new DenyLoginCommand(plugin),
                new UnexemptCommand(plugin),
                new AllowLoginCommand(plugin),
                new LogCommand(plugin),
                new ResetCommand(plugin),
        }){
            addSubCommands(cmd);
            rootLabels.add(cmd.label);
        }
View Full Code Here

Examples of me.taylorkelly.bigbrother.commands.LogCommand

        bbc.registerExecutor("rollback", new RollbackCommand(this));
        bbc.registerExecutor("confirm", new ConfirmCommand(this));
        bbc.registerExecutor("delete", new DeleteCommand(this));
        bbc.registerExecutor("undo", new UndoCommand(this));
        bbc.registerExecutor("stick", new StickCommand(this));
        bbc.registerExecutor("log", new LogCommand(this));
        bbc.registerExecutor("done", new DoneCommand(this));
        bbc.registerExecutor("here", new HereCommand(this));
        bbc.registerExecutor("find", new FindCommand(this));
        bbc.registerExecutor("help", new HelpCommand(this));
        getCommand("bb").setExecutor(bbc);
View Full Code Here

Examples of org.eclipse.jgit.api.LogCommand

    }

    @Override
    public List<Revision> getMatrixHistory(final int start,
                                                   final int limit) throws StoreException {
        final LogCommand logCommand;
        try {
            final ObjectId branchHead = git.getRepository().resolve(getGitCore().getRefName());
            logCommand = git.log()
                .add(branchHead)
                .setSkip(start)
View Full Code Here

Examples of org.eclipse.jgit.api.LogCommand

                                             final String revision,
                                             final int start,
                                             final int limit) throws StoreException {
        try {
            final ObjectId commitId = ObjectId.fromString(revision);
            final LogCommand logCommand = git.log()
                // TODO: create path to definition.json file, sanitize test name for invalid / relative characters
                .addPath("test-definitions/" + test + "/definition.json")
                .add(commitId)
                .setSkip(start)
                .setMaxCount(limit);
View Full Code Here

Examples of org.eclipse.jgit.api.LogCommand

            }
            JSONObject branch = children.getJSONObject(i);
            if (commitsSize == 0) {
              newChildren.put(branch);
            } else {
              LogCommand lc = git.log();
              String branchName = branch.getString(ProtocolConstants.KEY_ID);
              ObjectId toObjectId = db.resolve(branchName);
              Ref toRefId = db.getRef(branchName);
              if (toObjectId == null) {
                String msg = NLS.bind("No ref or commit found: {0}", branchName);
                return new ServerStatus(IStatus.ERROR, HttpServletResponse.SC_NOT_FOUND, msg, null);
              }
              toObjectId = getCommitObjectId(db, toObjectId);

              // set the commit range
              lc.add(toObjectId);
              lc.setMaxCount(this.commitsSize);
              Iterable<RevCommit> commits = lc.call();
              Log log = new Log(cloneLocation, db, commits, null, null, toRefId);
              log.setPaging(1, commitsSize);
              branch.put(GitConstants.KEY_TAG_COMMIT, log.toJSON());
              newChildren.put(branch);
            }
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.