What do you do with MQ?
Martin Geisler
mg at aragost.com
Wed Dec 7 09:26:11 UTC 2011
Wujek Srujek <wujek.srujek at googlemail.com> writes:
> Hi. I have just tested this:
> 1. commit
> 2. pull (tip change)
> 3. qimport -r tip
> mq told me that 'abort: working directory revision is not qtip' (mercurial
> 1.9.1), so the 'amend' chain would break, which is good, as there is no
> room for wrongly amended changesets.
You can still
hg qimport -r .
to import the *working copy parent revision* into mq. You can then
refresh all you want. That works as long as there are no child
changesets of '.'.
> Nice. This only underlines the shell approach with '&&' to chain the
> commands is superior to ';', I guess. Thanks for teaching me some new
> stuff about mq.
>
> (I am sorry that I wrote to you personally, it's my email client, or rather
> my inability to use it correctly - I click 'reply', it replied to you, not
> the mercurial mailing list. I will try to do better in the future.)
No problem, it happens all the time :)
--
Martin Geisler
aragost Trifork
Professional Mercurial support
http://mercurial.aragost.com/kick-start/
More information about the Mercurial
mailing list