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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T02:47:17+00:00 2026-06-10T02:47:17+00:00

So I fixed a bug on our main branch some months back, let’s say

  • 0

So I fixed a bug on our main branch some months back, let’s say some old changeset 555. Recently, I manually copied these changes to a child branch for a recently approved hotfix, changeset 999. I would like to do a Track Changeset on 999 and see this it has been merged to main as 555. But, I’ve done this backwards according to the TFS rules, you can’t merge down to a child branch.

Is there a way to tell TFS “accept my old changeset 555 as the merge of 999 to the main branch”?

This is analogous to the ClearCase version tree workflow, using the “don’t perform merge, just draw arrow”. Thus the Track Changeset for either 555 or 999 would show that they are related.

  • 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-06-10T02:47:19+00:00Added an answer on June 10, 2026 at 2:47 am

    I’m not sure what you mean by

    But, I’ve done this backwards according to the TFS rules, you can’t merge down to a child branch.

    There shouldn’t be anything preventing you merging this change to a child branch, you might have some merge conflicts to resolve. However if that really isn’t a possibility and you want to merge “999” in to the main branch without actually merging the code (i.e. adjust the merge history) then you can using the tf merge command line.

    Open a visual studio command prompt and use the command

    tf merge $/TeamProject/childBranch $/TeamProject/MainBranch /version:C999~C999 /recursive /discard

    This will tell TFS to update its history to say that the merge occured even though it hasn’t. You might want to use the /preview switch before you do the merge “for real” to make sure you are discarding the files you expect.

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

Sidebar

Related Questions

I've just fixed a very subtle bug in our code, caused by slicing of
I just fixed a bug in a two year old python program and now
I recently fixed a defect in our product, the symptom of which was an
Because we have discovered and fixed a bug in our app after we uploaded
We ran into some strange results recently in one of our Perl scripts, where
text = I fixed bug #1234 and #7895 regex = /#(\d*)/ m = regex.match(text)
I am using TFS source control, and I fixed bug, and when I checked
A bug has been filed and fixed (super quickly) in SWT: https://bugs.eclipse.org/bugs/show_bug.cgi?id=305294 Just to
Edit : The bug that caused this problem has been fixed. The @version tag
Update: I reported this as a bug to Apple and they fixed it! All

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.