Equivalent of Mercurial queues
Erik Bågfors
zindar at gmail.com
Wed Jul 19 22:48:30 BST 2006
On 7/19/06, Diwaker Gupta <diwaker.lists at gmail.com> wrote:
> Hi all,
>
> Does bzr have (or have plans for) functionality equivalent to the MQ
> extension in Mercurial [1] -- basically a quilt-like set of routine to
> work with patches?
Not currently,
There is something named shelf ( a plugin) that will give you some
parts of that functionality but not the full thing.
It provides other functionality that MQ doesn't, it doesn't try to
solve the same problem.
However, based on that, it should be fairly simple to create a MQ (like) plugin.
I've been meaning to implement it, it will not work exactly like MQ,
partly because I'm not that fond of it, partly because it was more
work.
I basically plan to add four commands in a plugin
bzr recommit: uncommits the last commit, and recommits it with any
changes done to the working tree
bzr qpop: uncommits the last commit and puts it on the shelf.
bzr qpush: takes the top patch on the shelf, removes it, and commits it
bzr export-patches -r x..y; exports changes from x to y as separate
files, for easy inclusions (I'm not sure this is needed, but I think
so).
qpop and qpush should take a revision argument to pop or push many
changes. Unknown how to handle conflicts when pushing multiple
patches, but that has been solved somehow in MQ I expect.
Well, someone might beat me to this...
/Erik
--
google talk/jabber. zindar at gmail.com
SIP-phones: sip:erik_bagfors at gizmoproject.com
sip:17476714687 at proxy01.sipphone.com
More information about the bazaar
mailing list