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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:25:57+00:00 2026-06-13T07:25:57+00:00

I have been investigating any potential issues encountered when merging branches in TFS 2010.

  • 0

I have been investigating any potential issues encountered when merging branches in TFS 2010.

All combinations which I have tried have worked perfectly, apart from one, and I am hoping that someone can help me understand why it is not working and/or what I am doing incorrectly.

It is perfectly reproducible, and I have described how below.

The problem scenario

The environment:

  • There is one C# Library project in both branches, called MyProject.
  • There are two classes in each project, called MyClass and MyOtherClass.
  • Branch A is the parent branch, and Branch B has been created from it.

The scenario:

  • MyClass.cs is edited in Branch A and renamed to MyClassRenamed.cs.
  • MyClass.cs is edited with a conflicting change in Branch B, but retains its name.

The outcome:

  • Merging the changes produces one conflict.
  • The conflict cannot be Auto Merged, and it only indicates issues with the content of the file, not the name change.
  • Fixing the conflict leaves you with files named differently in both environments, despite what name the file has when resolving the conflict.

The correct scenario

Interestingly, the behaviour is different if the scenario is inversed, see below.

  • MyClass.cs is edited with a conflicting change in Branch A, but retains its name.
  • MyClass.cs is edited in Branch B and renamed to MyClassRenamed.cs.

The outcome:

  • Merging produces TWO conflicts.
  • One conflict is the project file, and the other being the file which has renamed.
  • The conflict for the renamed file cannot be Auto Merged, but it notifies that the name has changed and asks for the new name for the merged file.
  • You can then merge the changes for that file.
  • You can then merge the changes for the project file.
  • Fixing the conflict leaves you with files named differently in both environments, despite what name the file has when resolving the conflict.
  • Everything works as expected, and the file is renamed in both environments and the changes kept in sync.

Conclusion

As far as I can see, the only solution is to avoid renaming files and to fix the issue manually after a merge, something I am hesitant to do if there is an automated way I can do this.

  • 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-13T07:25:58+00:00Added an answer on June 13, 2026 at 7:25 am

    Let me a bit extend your scenario.

    • MyClass.cs is edited in Branch A and renamed to MyClassRenamed.cs.

    • MyClass.cs is edited with a conflicting change in Branch B, but retains its name.

    • One of these Branches had to be merged into Integration branch (let’s say Branch A)

    • At this moment of time, team working on Branch B decided to merge changes into Integration branch. As a good practice, before merging into Integration, they should pull down the changes from Integration and merge into branch B. Only after they do that and fix conflicts, they would merge branch B into Integration.

    • Next time Branch A to be merge, they should also follow good practice.

    The above practice should resolve the issue of file names being different in the different Branches.

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

Sidebar

Related Questions

I have been investigating building web parts for sharepoint 2010 and currently have a
I have been investigating some performance issues with my database (SQL Server 2008). SQL
I have been investigating about creating a UDP server, at first i though i
I have been investigating OAuth to share resources in my site to other sites.
I have been investigating transactions and it appears that they take care of themselves
Previously I have been investigating several solutions how to register with email address instead
I have been looking at monotorrent and while investigating the whole bittorrent thing I
I have been investigating how My ASP.NET MVC application can log unsuccessful / incomplete
I have been investigating the best way to store our solutions in SVN and
I have recently been investigating java server-side web frameworks to serve as a rendering

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.