Hi,
I am trying to make a REPORT request for the 'property-report' to
subversion from a browser using javascript, but alas it is not working.
Here's what I am doing:
Request function:
function getHistory(url){
var objHTTP = new ActiveXObject("Microsoft.XMLHTTP");
objHTTP.open("REPORT", url, false);
var message = '<?xml version="1.0" encoding="UTF-8"?><D:property-report
xmlns:D="DAV:"><D:prop><D:creationdate/></D:prop></D:property-report>';
objHTTP.send(message);
return objHTTP.responseText;
}
And here is the response:
<?xml version="1.0" encoding="utf-8"?>
<D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns"
xmlns:C="svn:">
<C:error/>
<m:human-readable errcode="200007">
The requested report is unknown.
</m:human-readable>
</D:error>
Do I have the report name (property-report) correct? Does anyone have a
list of custom reports taht subversion uses? Thanks for your help.
Andy
Received on Thu Aug 19 18:54:15 2004