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 943891
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T22:30:26+00:00 2026-05-15T22:30:26+00:00

I’m looking for a DVCS which would allow me to use something like a

  • 0

I’m looking for a DVCS which would allow me to use something like a “named commit” — similar to what patch queues achieve, but not quite… (I’ll compare only to mq and stg, since I don’t know of any other similar ones)

Patch queues are close, but I’d like those features:

  • Creating new branch in the repository, branches also the patch series. (mq uses global patch queues, git loses the stg information while branching and branches with patches currently applied)
  • Ability to list the “named commits”, pop and push them just like patches. (both do that)
  • Tying the “named commit” changes to normal commits – so that when I create a patch at rev 1, I change the patch at rev 3, I can still checkout rev 1 and see the old version. (mq is global again, stg fails with “not on any branch” when I come back to older revision)
  • Same as above really – ability to tag a revision in a way that if I check it out, I get the “named commits” I had then.

Is there anything similar out there? Any extensions to some DVCS? Or maybe there’s a way to make mq or stg behave the way I want? Any suggestions?

It seems like mq which keeps its information is in the same repo as other files, would be close to what I need, but is that even possible?


Just to explain the purpose quickly: I want to keep the patches applied all the time, but they’re not “part of development”. I just want several specific features kept separately in my own fork of the main repo.

  • 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-15T22:30:26+00:00Added an answer on May 15, 2026 at 10:30 pm

    You can do this with Mercurial by using mq inside of its own repo. Most commands have a --mq flag that will operate on the patch queue. To get started use hg init --mq (hg qinit also works, but that pattern is more limited, especially since qpush would be overloaded). This creates a repo inside of .hg/patches, which is independent from the main repo. Then, use mq as usual. When you want to commit your patch queue, use hg commit --mq.

    You can also tag and branch with the --mq flag, to keep track of different heads. Unfortunately, it looks like the Bookmarks extension does not yet support mq, which would be nice since you probably want lightweight labels. If you wanted, though, you could set up an alias for qbookmark which just adds the -R .hg/patches so it operates on the patch queue repo.

    I haven’t used this extensively myself, but it looks like enough of the native Mercurial commands support --mq as to make it a possible solution for you.

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

Sidebar

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.