Search code examples
mercurial

Remove mercurial message "obsolete feature not enabled but xxx markers found"


For a short time I had the evolve extension enabled in our Mercurial repository. Then I disabled it.

Now I frequently see messages like:

obsolete feature not enabled but 184 markers found!

when various hg commands are run.

How can I get rid of this message? I gather there are "obsolecense markers" in the repository now, is it possible to remove them and/or silence these messages?


Solution

  • You just need to delete the obsstore:

    $ rm .hg/store/obsstore
    

    Note that if you do this the obsolete commits you've made will show up once again as either draft or public changes.