I'm using hg with the mq extension installed (I do not have the rebase extension to the best of my knowledge)

After making a few changes and doing a few qdiffs, qrefs I am suddenly faced with this error, I am not sure how or why it occured, but I'd like to be able to qref again and get rid of this error or atleast extract all my work from the given repo.


Outputs:

hg qref

abort: cannot refresh immutable revision
(see "hg help phases" for details)

-

hg qseries

0 A bug-822459-fix

-

hg status

M templates/testEmptyTest.js
M templates/testModalDialog.js
M templates/testPreferencesDialog.js
M templates/testSharedModules.js

and a whole lot of other untracked files ( files with a ? infront of them)

有帮助吗?

解决方案

hg phase -fd qbase:qtip helps. See also https://www.mercurial-scm.org/wiki/Phases

I have this in my ~/.hgrc:

[phases]
publish = False

其他提示

The following command worked for me:

hg phase --force --draft .
hg qref
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top