Re: RFE: API for an efficient retrieval of server-side mergeinfo data
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Fri, 14 Feb 2014 10:38:00 +0000 (GMT)
Marc Strapetz wrote:
Right. This is a wrapper around the core library function svn_ra_get_mergeinfo().
> This makes the Merge Arrow feature practically unusable for larger graphs.
The request for a more powerful API certainly makes sense, but what form of API?
In the Subversion project source code:
# How many lines/bytes of mergeinfo in trunk, right now?
# How many branches and tags?
# Approx. total lines/bytes mergeinfo per revision?
So in each revision there are roughly 70,000 lines of mergeinfo, occupying 7 MB in plain text representation.
The mergeinfo properties change whenever a merge is done. All other commits leave all the mergeinfo unchanged. So mergeinfo is unchanged in, what, 99% of revisions?
It doesn't seem logical to simply request all the mergeinfo for each revision in turn, and return it all in raw form.
Can we think of a better way to design the API so that it returns the interesting data without all the redundancy? Basically I think we want to describe changes to mergeinfo, rather than raw mergeinfo.
- Julian
> Querying a set of revisions would be more flexible and would allow to
|
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.