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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:15:14+00:00 2026-05-20T05:15:14+00:00

If you are merging changes from repository B into repository A should you merge

  • 0

If you are merging changes from repository B into repository A should you merge changes in .hgtags?

Repository B could have had tags 1.01, 1.02, 1.03 which are not in A. Why would you ever merge those into repository A’s .hgtags file? If we merged and then tried to view repository A by looking at tag 1.01, I would think this wouldn’t work.

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

    Short Answer: This does work properly and you should merge .hgtags

    Why should you actually merge .hgtags and why does it make sense?

    So you have

    • Repo A with Changesets 3 (a1), 4 (a2), 5 (a3)
    • Repo B with Changesets 3 (b1), 4 (b2), 5 (b3) tag 1.01

    The above is listed as the Changeset Number (long unique hex id) tag

    So you merge repo B into Repo A and get something that looks like.

          9 (a4) merge 
         /   \
        |   8 (b3) tag 1.01
        |    |
        |   7 (b2)
        |    |
        |   6 (b1)
     5 (a3)  |
        |    |
     4 (a2)  |
        |    |
     3 (a1)  |
         \   /
         2 (a0) 
    

    If you update the repo to tag 1.01 you will get exactly what the code looked like at that point in time When it was in Repo B just as mercurial promises.

    You should merge them as the changesets from Repo B that were tagged are now part of the changeset tree in Repo A, so therefore the changesets you tagged in Repo B are now tagged in Repo A. Not merging them would just cause you to lose the tags that you created for the changesets.

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

Sidebar

Related Questions

I created a branch and then made changes to trunk which need merging into
I have this problem where I'm merging changes up into my integration branch but
I have a repository which contains Content & Source files. Developers should work only
In svn, what is the difference between merging changes from a Branch back to
I had a problem with committing changes after merging two branches of my project
Merging in my Mercurial repository is not working like I expected. Several days ago
I have jenkins set up to build any branch and merge it into master.
Trying to do a merge from a branch back into the trunk. Both projects
In the projects I work in, it seems the biggest problem with Merging changes
I am merging a CVS branch and one of the larger changes is the

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.