What do you do with MQ?

Martin Geisler mg at lazybytes.net
Tue Dec 13 20:02:11 UTC 2011


Sam Steingold <sds at gnu.org> writes:

>> * Martin Geisler <zt at nentbfg.pbz> [2011-12-13 18:25:42 +0100]:
>>
>> 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.
>
> see, you do no like the instructions above, so you would clearly be
> upset if I were to copy they verbatim into the documentation.

Nah, I wont be upset... if you find the above instructions helpful as a
new(er) user of Mercurial, then I want you to copy them into the wiki.
The wiki should be helpful to you and other people who are learning
Mercurial. Other "experts" can understand the three commands and might
decide that there's no compelling reason to do the final two.

>>> 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.
>
> you are the mercurial expert, not me.
> how can you expect me to write a good manual?!

I see what you mean, but there is another side to it: as an "expert", I
might make the mistake of writing the manual for other experts.

> the whole point of my request is that I want someone knowledgeable to
> put the summary of this discussion into a more permanent and easily
> locatable place. this is not a matter of access.

I'll try to make you knowledgeable enough for you to update the manual.
After that, we'll have two mq experts here to help others! :)

-- 
Martin Geisler

Mercurial links: http://mercurial.ch/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20111213/5467faac/attachment.asc>


More information about the Mercurial mailing list