[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tortoisesvn-users
Subject:    Re: Update to revision
From:       Oto BREZINA <brezina () printflow ! eu>
Date:       2013-02-08 8:35:55
Message-ID: 5114B8EB.3000203 () printflow ! eu
[Download RAW message or body]

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 ...

Oto

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3048099

To unsubscribe from this discussion, e-mail: [users-unsubscribe@tortoisesvn.tigris.org].
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic