Split revfiles?

Martin Pool mbp at sourcefrog.net
Mon Jun 20 15:42:21 BST 2005


On 20 Jun 2005, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:

> Hi all,
> 
> I was just thinking about revfiles (the planned efficient storage
> format) and remote access.
> 
> If we only support protocols that allow us to retrieve particular
> sections of a file, then efficient downloading won't be a problem.  But
> since revfiles have full texts every x revisions (where x is currently
> 25), it may make sense to start a new revfile at that point.  That way,
> each sub-file is self-sufficient for the revisions it contains, and we
> never need to download the whole revision history when we don't need it.

That's an interesting idea.  That would seem to imply some kind of
two-level indexing to find a particular text: either the inventory
says [which-revfile, which-text], or there is an index-of-revfiles.

-- 
Martin




More information about the bazaar mailing list