please check out weave-format branch

Martin Pool martinpool at gmail.com
Fri Sep 23 07:54:07 BST 2005


On 23/09/05, John Arbash Meinel <john at arbash-meinel.com> wrote:

> Just to comment on this a little bit more, it would be nice if you could
> still merge/compare against a branch which was an older format. This
> makes it easier to get patches from people after you have upgraded.
> Though I suppose you could just branch them, and then upgrade the local
> branch.

That's what I thought.  Forcing an upgrade is just for now; in the
future we'll do it more gently.

> Also, especially in the case of pulling a bunch of ancestry, it might be
> nice to have a "WeaveStore.add_texts()" function, which would let you
> add a bunch of entries to a given weave, before writing it out. That way
> the same file doesn't get re-written 20 times when you are pulling 20
> revisions. Though I suppose the code may not be written such that it can
>  know about multiple changes in a row. But for 20 1-line changes, you
> have to write 20-full history files.

You can get the Weave object and manipulate it in memory as much as
you like, then write it back.  The weavestore things are just
convenience functions.  (The upgrade code does this.)

--
Martin




More information about the bazaar mailing list