mercurialbranchdvcsmercurial-queue

MQ vs. branches in Mercurial


I've been working with Mercurial now for some time. When making (private) changes to some third party software, in the past I always created a separate named branch for these changes. When the upstream code updates, I simply merge it into my named branch.

Today I read about MQ (Mercurial Queues - chapters 12 and 13). I think I understood the concept behind MQ, so my question is:

Is there any advantage of MQ over (named) branches in Mercurial (for my scenario)?


Solution

  • The main advantage of MQ over named branches are:

    Disadvantages of MQ are: