What do you do with MQ?

Martin Geisler mg at aragost.com
Tue Dec 13 11:25:42 CST 2011


Sam Steingold <sds at gnu.org> writes:

>> * Arne Babenhauserheide <near_ono at jro.qr> [2011-12-13 06:46:57 +0100]:
>>
>> * shelve away changes, commit something else, get them back.
>>    hg qnew stash-work-in-progress; hg qpop
>>    hg qpush; hg qfinish tip; hg strip -k tip

I don't like the last line -- it feels quite unnatural to me to finish a
patch just to strip it. I've certainly never used mq like that. Somehow,
I feel that people that insist on getting the changes "out" of mq have
misunderstood it -- you can just keep the changes in mq and work with
them there.

Infact, when you start using mq like this, I feel it's very likely that
you'll start having several such stashed commits around as separate
patches and so you need to keep the patches.

> now, could someone PLEASE put these incantations in both
>
> -- http://mercurial.selenic.com/wiki/GitConcepts
> -- http://mercurial.selenic.com/wiki/MqExtension

It is a wiki, so you're free to edit it yourself. You'll be asked to
create an account if you don't already have one.

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://mercurial.aragost.com/kick-start/


More information about the Mercurial mailing list