endRevision = ((IntegerValue)args[4].itemAt(0)).getLong();
MemTreeBuilder builder = context.getDocumentBuilder();
AttributesImpl attribs = new AttributesImpl();
attribs.addAttribute("", "uri", "uri", "CDATA", uri);
attribs.addAttribute("", "start", "start", "CDATA", Long.toString(startRevision));
int nodeNr = builder.startElement(LOG_ELEMENT, attribs);
LogHandler handler = new LogHandler(builder);
repo.log(new String[0], startRevision, endRevision, true, false, handler);
builder.endElement();
return builder.getDocument().getNode(nodeNr);
} catch (SVNException e) {