newformat format change

Gustavo Niemeyer gustavo at niemeyer.net
Fri Sep 30 17:56:01 BST 2005


> >[niemeyer at burma ../revision-store]% du -sh
> >7.2M    .
> 
> du -sh --apparent
> 755k

Good point.

[...]
> But even without nested inventories, it would get pretty complex to
> try and write RFC822 inventory information, since you have a lot of
> files in an inventory, and a lot of information about each file.

FileID: bzrignore-20050311232317-81f7b71efa2db11a
Kind: file
Name: .bzrignore

FileID: rsyncexclude-20050408053852-27e0a5928b6829f645beb2e6
Kind: file
Name: .rsyncexclude

FileID: HACKING-20050805200004-2a5dc975d870f78c
Kind: kind
Name: HACKING

Does that look complex?

In fact, it's not only simple, but also very fast to parse.

[...]
> I would rather see us switch to that sort of format, than go back to 
> RFC822. Nesting is frequently very useful.

So far I have not seen a case of nesting in bzr's storage that would
make XML necessary.

-- 
Gustavo Niemeyer
http://niemeyer.net




More information about the bazaar mailing list