problem with mq extension

Chen XI xichen1427 at gmail.com
Tue Dec 13 22:57:23 UTC 2011


In general, the topmost patch is not updated by command "qnew" or
"qrefresh" when modification occurs. The scenario is very simple. I paste
the command and output here.
--------------------
xc1427 at xc1427-laptop:~/mercurial_practice$ hg init test
xc1427 at xc1427-laptop:~/mercurial_practice$ cd test
xc1427 at xc1427-laptop:~/mercurial_practice/test$ hg init --mq
xc1427 at xc1427-laptop:~/mercurial_practice/test$ echo "blabla" > file
xc1427 at xc1427-laptop:~/mercurial_practice/test$ hg qnew firstpatch
xc1427 at xc1427-laptop:~/mercurial_practice/test$ hg status
? file
xc1427 at xc1427-laptop:~/mercurial_practice/test$ hg log -r tip -p
changeset:   0:160396a1b860
tag:         firstpatch
tag:         qbase
tag:         qtip
tag:         tip
user:        XI Chen <chen.xi at telecom-bretagne.eu>
date:        Tue Dec 13 23:45:19 2011 +0100
summary:     [mq]: firstpatch
--------------------

I think that normally "hg status" will display nothing since changes has
been committed by "hg qnew firstpatch". What's more, "hg log -r tip -p"
tells that nothing is added to the patch file.

Does anybody know what's wrong with MQ ?

-- Chen

PS: I asked the same question in irc channel. As I do not know how to
correctly use irc to pose my question, I decide to see help from the
mailing-list first. Sorry for violating rules last night on IRC.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20111213/dbcd59ed/attachment-0002.html>


More information about the Mercurial mailing list