Package org.tmatesoft.svn.core.wc.admin

Examples of org.tmatesoft.svn.core.wc.admin.SVNLookClient.doGetInfo()


        SVNRevision revision = SVNRevision.HEAD;
        SVNLookClient lookClient = getClientManager().getLookClient();
       
        if (getCommandLine().hasArgument(SVNArgument.TRANSACTION)) {
            String transactionName = (String) getCommandLine().getArgumentValue(SVNArgument.TRANSACTION);
            SVNLogEntry entry = lookClient.doGetInfo(reposRoot, transactionName);
            printInfo(entry, out);
            return;
        } else if (getCommandLine().hasArgument(SVNArgument.REVISION)) {
            revision = SVNRevision.parse((String) getCommandLine().getArgumentValue(SVNArgument.REVISION));
        }
View Full Code Here


            return;
        } else if (getCommandLine().hasArgument(SVNArgument.REVISION)) {
            revision = SVNRevision.parse((String) getCommandLine().getArgumentValue(SVNArgument.REVISION));
        }

        SVNLogEntry entry = lookClient.doGetInfo(reposRoot, revision);
        printInfo(entry, out);
    }

    public void run(InputStream in, PrintStream out, PrintStream err) throws SVNException {
        run(out, err);
View Full Code Here

    public void run() throws SVNException {
        SVNLookCommandEnvironment environment = getSVNLookEnvironment();
        SVNLookClient client = environment.getClientManager().getLookClient();
        SVNLogEntry logEntry = null;
        if (environment.isRevision()) {
            logEntry = client.doGetInfo(environment.getRepositoryFile(),
                    getRevisionObject());
        } else {
            logEntry = client.doGetInfo(environment.getRepositoryFile(), environment.getTransaction());
        }
       
View Full Code Here

        SVNLogEntry logEntry = null;
        if (environment.isRevision()) {
            logEntry = client.doGetInfo(environment.getRepositoryFile(),
                    getRevisionObject());
        } else {
            logEntry = client.doGetInfo(environment.getRepositoryFile(), environment.getTransaction());
        }
       
        String author = logEntry.getAuthor() != null ? logEntry.getAuthor() : "";
        String date = logEntry.getDate() != null ? SVNDate.formatCustomDate(logEntry.getDate()) : "";
        String log = logEntry.getMessage() != null ? logEntry.getMessage() : "";
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.