If you have mq fixes and you pull, will your repository get corrupted?
The answer is no . When you pull, you add more changes to your local history. The attached MQ fixes are also displayed as change sets on the change set schedule, but this is not dangerous and you will not lose any data.
What could happen is that you applied some fixes:
.... a
You then send the fixes to the mailing list upstream for inclusion. Someone looks at patches, commits them and puts the changes into the main repository. Other changes will be pushed later, and the next time you pull, you will get:
.... a
Changes p1 to p3 are still MQ plugins in your repository, but now they have children without MQ! Attempting to pull them leads to (with Mercurial 2.1.1):
$ hg qpop abort: popping would remove a revision not managed by this patch queue
This is a little dead castle. It is annoying, but not dangerous. To resolve this, you must make MQ understandable that p1 to p3 no longer controlled by MQ. You do this by deleting lines for these change sets with .hg/patches/status . MQ is likely to end up deleting these lines on its own when it happens, but it happens quite rarely, so no one has written this patch yet.
Martin geisler
source share