mq mercurial repository available

Ling, Xiaofeng xiaofeng.ling at
Thu Sep 8 10:43:51 CDT 2005

Chris Mason <mailto:mason at> wrote:
> On Thu, 8 Sep 2005 17:39:21 +0800
> "Ling, Xiaofeng" <xiaofeng.ling at> wrote:
>> I've tried and it works for me now,  great!
>> will it be included in the next mercurial release?
> Good to hear.
> Matt has been actively folding my patches back into his repository.
> Before he can take the rest, I need to better integrate my changes to
> the changegroup code.  Right now the patch is easy to maintain but
> not as clean as it should be.  So, it will probably be a few weeks.  
good, I'm just thinking that if we have these enhanced commands,it will be perfect.
1. hg qimport <patch1> <patch2> ...
import exist patches to manage by mq.
it just do like:
hg qnew patch1
patch -p1 <patch1
hg qrefresh
... more patches
2. hg qimport can import description , user etc. 
    hg qnew/qrefresh can add description.
3.hg qpopall
4.hg qpushall
5.qpush can use three-way file merge, this can help a lot.
   hg qpush -m <revid>
 it will call hgmerge for revid, parents, parents+patch
then we can have 
6. hg qmove <revid>
it just do like
 hg qpopall
 hg qpush -m <revid>
 hg qrefresh
 deal with more patches.
then we can easily move a serial of patches to new base revision.


More information about the Mercurial mailing list