Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5848261
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T12:50:05+00:00 2026-05-22T12:50:05+00:00

I am trying to set up my workflow with MQ as described in the

  • 0

I am trying to set up my workflow with MQ as described in the MqTutorial and in the HGbook Chapter 13.
The part I struggle with is how to have multiple patch queques under version.

Alternatives:

I. Create a separate repository for every queue. To make this manageable mark the repos as subrepos in the .hgsub file

Problem: the following results in an error: path contains illegal component

 .hg/patches-queue1 = .hg/patches-queue1

II. HGbook Chapter 13 describes that you can add patches in subdirectories like

 qnew queue1/patch1.diff

Problem: All the patches are still in the same queue and have to be applied in order

Is there another way to have all my patch queues under version control and pushed?
Multiple HG MQ patch queues in one repository?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T12:50:05+00:00Added an answer on May 22, 2026 at 12:50 pm

    Check out the hg qqueue command that’s part of mq. It lets you switch multiple patch queues in an automated fashion:

    hg qqueue [OPTION] [QUEUE]
    
    manage multiple patch queues
    
        Supports switching between different patch queues, as well as creating new
        patch queues and deleting existing ones.
    
        Omitting a queue name or specifying -l/--list will show you the registered
        queues - by default the "normal" patches queue is registered. The
        currently active queue will be marked with "(active)".
    
        To create a new queue, use -c/--create. The queue is automatically made
        active, except in the case where there are applied patches from the
        currently active queue in the repository. Then the queue will only be
        created and switching will fail.
    
        To delete an existing queue, use --delete. You cannot delete the currently
        active queue.
    
        Returns 0 on success.
    
    options:
    
     -l --list    list all available queues
     -c --create  create new queue
        --rename  rename active queue
        --delete  delete reference to queue
        --purge   delete queue, and remove patch dir
    

    You can’t have the stuff in .hg be sub-repos of the external (outer/parent) repos but it should be possible to have different paths for each of the qqueue repos, and perhaps make them all subrepos of a parent repo that is itself inside .hg/patches.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So recently I have been trying to set up a Vim-based iOS workflow. I
I am trying to set up EMR workflow (with DynamoDB and Hive) using boto
I have a C# workflow that I'm trying to create an IOrganzationService in that
We're trying to set up a workflow for approval of an item in a
Trying to set up a time card at work in Excel, have dates going
I'm trying to set up my django-registration activation workflow so that when the user
Im trying set the single table inheritance model type in a form. So i
Trying to set up a self signed certificate, for our intranet's web services site.
Trying to set it so if a certain condition is met then one of
Trying to set up a dependency in C++ with a parent-child relationship. The parent

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.