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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:28:35+00:00 2026-05-26T05:28:35+00:00

I have a repo in TortoiseHG with a single branch (next version development), but

  • 0

I have a repo in TortoiseHG with a single branch (next version development), but modifications to the local (bug fixes)… something like…

Local 0-------3--4
       \
Branch  1--2

I want to do some more development on the branch version but with the subsequent Local changes merged into it. And I want to leave the local version in a state where I can continue development without the branch changed.

I’m not sure if what I’m asking is actually possible, or whether coming from a Visual SourceSafe environment is just clouding my ability to see something that should be obvious.

In fact, thinking about it a bit more (as I was writing the above) I’m wondering if my approach is the wrong way around. I should probably have continued with the future development in the local version and then create a bug-fix branch that I could have merged back into local one.

So the question is, is there a way to get around what I want to do with the current repo setup, or should I export the individual revisions and rebuild the repo from scratch? (Or any other options?)

  • 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-26T05:28:35+00:00Added an answer on May 26, 2026 at 5:28 am

    This seems like pretty normal Mercurial handling to me.

    You have:

    1. Two branches
    2. Want to make sure one of the two branches have all the updates of the other
    3. Want to make sure that other branch does not have any of the updates from the first (yet)

    You basically just have to merge the Local branch into the Branch branch at regular intervals, but not the other way around.

    Whenever you merge to a branch, you first update to the head of that branch. This makes the changeset you commit to persist that merge be on that branch as well.

    In other words, you would do this:

    1. Update to the head of Branch
    2. Right-click on the head of Local and select “Merge with local…” and go through with the merge
    3. Commit, this new changeset ends up being on the Branch branch

    The Local branch is still blissfully unaware of the changes on the Branch branch.

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

Sidebar

Related Questions

I have a repo on GitHub with a single branch master that I've been
I have two repo's which I'd like to keep separate. One for development, branches
I know I'm missing something small.. please help! I have a repo for my
In my current repo I have the following output: $ git branch -a *
Short version of the question: Since I already have TortoiseHg, I right clicked on
I have a subversion repo with directories that contain the usual source-controlled files, but
Seems like a simple problem: I have an SVN repo inside our firewall. I
Imagine situation like this: You have a working repo in bitbucket - you were
I have a repo that I have checked out to my local machine. The
I have a SVN repo on my server which contains a working version of

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.