[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

DAV:property-report

From: Andrew Wilcox <awilcox_at_everage.ca>
Date: 2004-08-19 18:53:25 CEST

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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.