[RFC] store inventory in tab-separated file

Alexander Belchenko bialix at ukr.net
Fri Feb 2 08:57:18 GMT 2007


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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFwvzuzYr338mxwCURAlOwAJ9a7rGmwzZH69LwIGStA07OmSulBwCfQWxn
BkGxFQdSmd66gV+BdeJfs+0=
=fneC
-----END PGP SIGNATURE-----




More information about the bazaar mailing list