myIsIncludeIDs = getCommandLine().hasArgument(SVNArgument.SHOW_IDS);
myIsFullPaths = getCommandLine().hasArgument(SVNArgument.FULL_PATHS);
File reposRoot = new File(getCommandLine().getPathAt(0));
String path = getCommandLine().getPathCount() < 2 ? null : SVNPathUtil.canonicalizeAbsPath(getCommandLine().getPathAt(1));
SVNRevision revision = SVNRevision.HEAD;
SVNLookClient lookClient = getClientManager().getLookClient();
if (getCommandLine().hasArgument(SVNArgument.TRANSACTION)) {
String transactionName = (String) getCommandLine().getArgumentValue(SVNArgument.TRANSACTION);
lookClient.doGetTree(reposRoot, path, transactionName, myIsIncludeIDs, this);
return;
} else if (getCommandLine().hasArgument(SVNArgument.REVISION)) {
revision = SVNRevision.parse((String) getCommandLine().getArgumentValue(SVNArgument.REVISION));
}
lookClient.doGetTree(reposRoot, path, revision, myIsIncludeIDs, this);
}