[RFC] store inventory in tab-separated file

Alexander Belchenko bialix at ukr.net
Mon Jan 29 19:50:10 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Arbash Meinel пишет:
> Alexander Belchenko wrote:
>> 3) I don't understand how versioned properties should be extended? Does I need
>> simply throw away unrecognized properties? Can I add to specific InventoryEntry
>> classes (InventoryDirectory, InventoryFile, etc) some support for packing/unpacking
>> of versioned properties? Specification http://bazaar-vcs.org/VersionedProperties
>> says that "Inventory and InventoryEntry will get proplist attributes, that will hold the
>> properties". Does it means that we need shine new inventory2.py file with new
>> implementation?
>> 4) What tests I need to write for new serializer?
> 
> Because it is a disk format, you need some very strict "this in memory
> ==> this on disk". Because otherwise our serializer could drift with
> time, which is very bad considering not everyone is using 'bzr.dev'.
> 
> We actually have run into this 1 time (part of why we didn't upgrade to
> v6 formats). Aaron upgraded the code to properly support unique tree
> roots. But it turned out that older bzr (<0.11??) would fail on the new
> trees. Fortunately we caught it before we made a release, because I
> happened to use a different version of bzr on different machines.

I want to say that in new inventory format I'd very like to see support for
line-endings and encoding of text files.
If you need my help on implementing this --
please say so.

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

iD8DBQFFvk/yzYr338mxwCURAsdMAJ92WFJ14BMGzFPhesxvGVzKWIKM5gCePV1J
FTfiaQQ4jxmg9NalRueZfrY=
=2lek
-----END PGP SIGNATURE-----




More information about the bazaar mailing list