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

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


        SVNRevision revision = SVNRevision.HEAD;
        SVNLookClient lookClient = getClientManager().getLookClient();

        if (getCommandLine().hasArgument(SVNArgument.TRANSACTION)) {
            String transactionName = (String) getCommandLine().getArgumentValue(SVNArgument.TRANSACTION);
            String author = lookClient.doGetAuthor(reposRoot, transactionName);
            SVNCommand.println(out, author != null ? author : "");
            return;
        } else if (getCommandLine().hasArgument(SVNArgument.REVISION)) {
            revision = SVNRevision.parse((String) getCommandLine().getArgumentValue(SVNArgument.REVISION));
        }
View Full Code Here


            SVNCommand.println(out, author != null ? author : "");
            return;
        } else if (getCommandLine().hasArgument(SVNArgument.REVISION)) {
            revision = SVNRevision.parse((String) getCommandLine().getArgumentValue(SVNArgument.REVISION));
        }
        String author = lookClient.doGetAuthor(reposRoot, revision);
        SVNCommand.println(out, author != null ? author : "");
    }

    public void run(InputStream in, PrintStream out, PrintStream err) throws SVNException {
        run(out, err);
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.