[RFC] store inventory in tab-separated file
Robert Collins
robertc at robertcollins.net
Fri Feb 2 09:05:47 GMT 2007
On Fri, 2007-02-02 at 10:57 +0200, Alexander Belchenko wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Aaron Bentley пишет:
> > Martin Pool wrote:
> >> Anyhow a split up inventory will want a more efficient format for each
> >> of the directories, and if this is it that's great.
> >
> > My pet desire for a new inventory format is I'd like each of the values
> > to be annotated individually, so that we can do a completely
> > annotate-based merge. (That works even with shallow branches that do
> > not store their common base)
>
> My initial attempt to create format of one entry like this:
>
> file bzrignore-20050311232317-81f7b71efa2db11a .bzrignore TREE_ROOT
> revision xxxx
> text_sha1 xxxx
> text_size xxxx
> executable yes
>
> If I understand you correctly you'd like to have this:
>
> file bzrignore-20050311232317-81f7b71efa2db11a
> name .bzrignore
> parent_id TREE_ROOT
> revision xxxx
> text_sha1 xxxx
> text_size xxxx
> executable yes
>
> Am I understand correctly this: "each of the values to be annotated individually"?
>
> This change complicate things a bit and probably slowdown read operation
> because of additional checks but I try to test this implementation as well
> to see real numbers.
>
> Alexander
One important thing to consider is the performance of
'file_ids_affected_by'.
Thats the dominating factor for pull.
Cheers,
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070202/21cfe430/attachment.pgp
More information about the bazaar
mailing list