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

Re: [PATCH]subversion/libsvn_fs_base/notes/structure

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2006-03-09 18:10:09 CET

Branko Čibej wrote:
> Kamesh Jayachandran wrote:
>
>> Based on the size of delta it would be in multiple chunks and hence
>> multiple strings.
>> db_dump from one of my test repository.
>> ((delta 0 (md5 16 \ed\b4\a3?\df\f4\a7n\db\b5\f7)|MWr)) (1 0 ((svndiff
>> 1 0 2 1j) 6 102400 z)) (6 102400 ((svndiff 1 0 2 1k) 6 102400 z)) (6
>> 204800 ((svndiff 1 0 2 1l) 5 75135 z)))
>>
>> This representation has 3 strings entries 1j, 1k, 1l.
>
> Wow. I seem to remember that we used duplicate keys in the strings table
> for things like that. Now I see that's not the case. I must either have
> been hallucinating, or the code changed since the last time I looked at it.

We do use duplicate keys in the strings table, but only for the various
chunks of a *fulltext* blob. When the fulltext is later deltified, it
gets broken into multiple strings, each of which is referred to by the
skel-list of a representation.

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Thu Mar 9 18:14:18 2006

This is an archived mail posted to the Subversion Dev mailing list.