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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T10:10:35+00:00 2026-05-21T10:10:35+00:00

We are using mercurial in a single repository. We have a master branch and

  • 0

We are using mercurial in a single repository. We have a master branch and a develop branch (as well as feature branches, but they aren’t germane to the issue at hand).

We tag the master branch with releases (5.1.0.102, etc). We do our development on develop.

But now we want to fix a bug in a previous version. There are a lot of questions here on SO about this issue, but none of them seem to explain what I want to do.

What I want to do is this:

  1. Update to the point where we released (say 6.1.1)
  2. Fix a number of bugs in that release
  3. Label that resulting code state as (6.1.2)
  4. Do a build of this new 6.1.2 codebase.
  5. Migrate those fixes into the develop branch
  6. Do this in such a way that I can go back to 6.1.2 and fix bugs there if need be.

I can’t seem to do this via updating. I tried to update to the 6.1.1, create a branch, and go from there, but that brings in the tip of the master branch, including all subsequent changes.

Is there a standard way of doing this? Did I explain that correctly so you guys get what I need to do? It seems like this is a pretty common thing to do.

  • 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-21T10:10:35+00:00Added an answer on May 21, 2026 at 10:10 am

    You don’t need to explicitly create a branch. The way I would do it is this:

    1. Update to the point where you released (6.1.1 in the master branch).
    2. Make changes and commit them.
    3. Tag the latest commit in master as 6.1.2.
    4. Pull those changes into the develop branch.
    5. Continue working.

    If you need to make more changes, then simply repeat the above but using the 6.1.2 tag in the master branch.

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

Sidebar

Related Questions

I am using branches in our mercurial repository and have noticed renames done in
I have a web server which is using mercurial as the repository. Every day,
I'm a single developer using Mercurial to create a program. I have so far
I've been using Mercurial for some development lately and have been loving it. I'm
I have a long standing problem: at work we're using mercurial as a DSCM,
Is Mercurial always using the external merge tools when two branches that are merging
Using Git or Mercurial, if the working directory is 1GB, then the local repository
I have a Mercurial repository for a personal project, and I have been storing
Possible Duplicate: Using mercurial, what's the easiest way to commit and push a single
I have been using Mercurial version control system for some time already and several

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.