Mercurial: shelve vs. mq

I have been using mercurial for a while and slowly studying it. Some time ago I found out about shelves and used them happily. Now I'm trying to understand the queues of patches, but from what I read, they sound very similar to the shelves. I can save my work without completing it, switching branches if I want, and then I will return to it. How are these two different?

Note: I saw this: Mercurial: transplant versus burn versus qrecord versus shelve vs. transplant vs. dirstate vs. queue , but did not find that he addressed this.

+6
source share
1 answer

Corrections queues have a superset of shelf features. In addition to canceling work in progress, the main difference is that applying the patch creates a set of changes, not just a change to the working directory. Saving markup allows other workflows, for example, from a book :

  • Updating a patch is iterative, giving you breakpoints that you can go back to.
  • "Laying and tracking patches", several application patches do not mix.
+9
source

All Articles