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

Re: Update to revision

From: Oto BREZINA <brezina_at_printflow.eu>
Date: Fri, 08 Feb 2013 09:35:55 +0100

On 2013-02-07 20:18, John Cowan wrote:
> Dale McCoy scripsit:
>> Should TortoiseSVN request the whole log (Consider that the subversion
>> library is around revision 1,500,000.
> No need for that. 20 individual requests (at most) would enable you to
> find the earliest log entry you needed to retrieve with perfect precision,
> and in practice you probably wouldn't need to bother with all 20. (It's a
> binary search.) Then you just fetch the log from that point forwards.
While date is usually ordered and thus is good candidate to binary
search, it is not guaranted.

And as you are not looking for exact date but just one before, you will
need to bother with all 20 (actually even 21).

Still update-to-date is rare as well as it happen more often for later
revision then for older. Taking bunch of let say 100 revs, should be ok.

I'm more interesting for update-to-rev for main and date in externals.
Still too rare ...



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-02-08 09:36:02 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

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