how to build a set of patches from bazaar?

James Westby jw+debian at jameswestby.net
Tue May 27 16:04:43 BST 2008


On Thu, 2008-05-15 at 21:42 +0200, joakim at verona.se wrote:
> I have an emacs patch that resides in a local bazaar branch on my
> laptop.
> 
> Now I would like to submit parts of this patch to the emacs devel list
> for inclusion in emacs cvs. This part will probably have to be iterated
> with the emacs devs a number of times. I would also like to continue
> develop the other parts of the patch.
> 
> So, my question is, how do I make a bazaar setup that supports this kind
> of development? And how do I get there from my current baz setup?
> 
> I've worked with "stacked git" in another project, and with that system
> I would have had to do something like:
> 
> - extract the patch
> - break it in 2 parts by hand
> - make a new git clone of the central cvs repos
> - push patch part 1
> - push patch part 2
> 
> whenever I would need to change part 1, I would pop patch 2, work on
> patch 1, and later push part 2. This wasnt a super splendid way to work
> but it was kind of intuitive.
> 
> Any hints for a superiour baz setup?
> 

Hi,

It sounds like the "loom" plugin would do what you want here. You would
still have to break up the current patch that you have to initialise the
"threads", but moving forward it would allow you to submit earlier parts
while still working on later ones and refining already submitted ones
as needed.

Thanks,

James




More information about the bazaar mailing list