We are maintaining an open-source search/indexing service for Subversion which requests more or less all information from each commit. Moving from svnlook to DAVRepository/HttpV2 is a current initiative.
The framework needs the properties and the filesize before (potentially) getting the content stream. The performance would benefit from getting both properties and filesize in a single request in these 2 situations:
- Get a single file: info(…) can provide filesize (no props) while getFile() can provide props (no filesize).
- List the directory contents: getDir(…) can provide filesize of children (no props).
I have verified that DAVUtil.getProperties(…) can get ‘allprop’ in combination with ‘Depth: 1’ from mod_dav_svn 1.13.0.
Can you recommend any other API i SVNRepository/DAVRepository for these 2 situations?
Would you consider adding properties to the SVNDirEntry object?