newformat format change

Gustavo Niemeyer gustavo at niemeyer.net
Fri Sep 30 17:02:04 BST 2005


> <revision version="0.5">
> 	<rev_info id="blahblah" put_stuff="here" />
> 	<parents>
> 	</parents>
> 	<meta-info>
> 	</meta-info>
> </revision>

Given that this information is repeated on all revisions, and that
those files will travel back and forth, perhaps another change that
could be made is "compressing" those strings:

  <rev committer="..." inv_id="..." ...>
  <msg>...</msg>
  <parents>
    <rev_ref id="..." />
    <rev_ref id="..." />
  </parents>
  </rev>

or even

  Committer: ...
  Inventory: ...
  Message:
    ...
  Parents:
    ...
    ...

in rfc822 style, which is weave-friendly.

-- 
Gustavo Niemeyer
http://niemeyer.net




More information about the bazaar mailing list