Re: PATCH: "revision" parameter to svn_client_status
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2003-09-22 19:31:16 CEST
C.Michael Pilato wrote:
It doesn't matter whether this function gets itself a hard number ... oh, you mean it should be GIVEN a hard number by its caller. In that way, the caller can call it multiple times with the same number each time. Yes, that would solve the multiple-targets case.
That's a good idea for an improvement ... might even call it a bug to fix. If we care about the optimisation, the caller (svn_cl__status) could resolve the revision number of HEAD if it is going to process multiple targets, or leave it to default, saving a network round trip, if it is only going to process one target.
> On the flip side, if 'foo' and 'bar' represent paths in two different
I would expect this to be handled as if two separate commands were issues by the user, one for each repository. That's how it works already. You're not implying a desire for atomic operation involving multiple repositories, are you? I hope you just meant that the future code to collect multiple targets into a single transaction must take care not to collect targets from different repositories together.
>>2) I'd still be interested to know whether ra_dav:make_reporter is
Good. That's what I thought and hoped.
> When we look at mod_dav_svn's parsing of that XML element, we
That's fine. RA-DAV:make_reporter either puts the number in that element, or omits the element altogether if the number was SVN_INVALID_REVNUM.
- 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.