Question about MQ usage? how to getting all outgoing changeset as patch queues?

Wujek Srujek wujek.srujek at googlemail.com
Tue Aug 9 13:23:54 UTC 2011


Hi,

if you are in a bash (or compatible) shell, you could try this (in your
repository) (but do a backup first ;d):

for node in $(hg out -q --newest-first --template "{node}\n"); do hg qimport
-r $node; done

After that, you should have a patch queue full of your outgoing changesets.

I don't know any way that is native to mercurial, but I would also like to
learn ;d

Hope this helps,
wujek

On Tue, Aug 9, 2011 at 3:09 PM, 罗勇刚(Yonggang Luo) <luoyonggang at gmail.com>wrote:

> I have lots of changes to edit, so I wan't to getting all outgoing
> changesets as patch queues.
> How to do that in an fast way?
> --
>          此致
>> 罗勇刚
> Yours
>     sincerely,
> Yonggang Luo
>
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20110809/0e026557/attachment-0002.html>


More information about the Mercurial mailing list