Question

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)

Était-ce utile?

La solution

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

I have this in my ~/.hgrc:

[phases]
publish = False

Autres conseils

The following command worked for me:

hg phase --force --draft .
hg qref
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top