Re: New struct for holding (url, rev, repo-root) coordinates in client merge code
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Tue, 3 Apr 2012 09:27:17 +0100 (BST)
Greg Stein wrote:
> Julian Foad wrote:
Done. Currently:
{
> If you're going to have the repos_root_url in there, then I would
Yes, I'd support switching to repos_relpath. I think the use of this struct makes that easier to achieve because now we carry around enough information to switch between one and the other at any point without relying on external data (such as an RA session) that may be carried around to some but not all of the functions that may want to do the conversion.
Because libsvn_client predominantly uses the full URL, we'll be best off sticking with URL until the point at which most of the client APIs and code are using this struct, and then we'll find that there are not many places left that actually care about the URL. Some time around that point we can gainfully switch to storing the relpath and creating the URL on demand.
>> It's not ideal as it is. The pointer to a url_uuid_t sub-structure
Gone.
>> Also, suggestions for a better name are welcome -- preferably
That's not really lovely but it's better than what I've got.
I'll roll this out to libsvn_client private name space now.
- Julian
|
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.