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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:52:36+00:00 2026-05-26T18:52:36+00:00

We faced an issue with file Merge at TFS2010. Until now, we merged files

  • 0

We faced an issue with file Merge at TFS2010. Until now, we merged files from one branch to another without problems (right click at file -> Merge -> Choose Target branch and Merge files). Initially, we added new file at Develop branch, after that added same file at Main branch. After some period we had changes in code at Develop branch and when tried to do Merge with Main branch, cannot see Target (Main) branch. I have two questions regarding to this situation:

  1. Is this good way for ‘uploading’ new files at TFS. Separately add files at both branches or there is some better practice where we could add new file to Develop branch and after that make copy of that file at Main?

  2. What can be reason for ‘hiding’ Target branch during the Merge operation?

When tried to solve this problem, I found some articles that can be useful to someone else, but didn’t solve problem in my case:

TFS not showing Dev branch in target locations for merging

How to merge new files into another branch in TFS?

http://revweblog.wordpress.com/2010/03/31/missing-target-branch-while-trying-to-merge-in-tfs-baseless-merge/

TnX in advance!

Nemanja

  • 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-26T18:52:37+00:00Added an answer on May 26, 2026 at 6:52 pm

    I think the case you should look closer is this, it’s a case you have already mentioned.

    To your first question:
    No, your method of committing new files multiple times is not optimum.
    Adding a new file into source control (any source control) more than once, doesn’t make sense.

    To your second question:
    The reason behind this behavior was best explained by AakashM in the post above: “In TFS the unit of change is the changeset, and it is changesets (not files) that are checked-in and merged. In the version (changeset number) that the target branch is at, this file simply does not exist, so there is nothing to merge to.”

    The proper way to operate is to add new files in your ‘Development’ branch and then merge into your ‘Main’ branch.
    This will not be possible if you right-click on the newly added file & choose “Merge..” (no target-branch will be presented). This will be presented if you do this in the folder containing you new file(s).

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

Sidebar

Related Questions

i faced an issue with downloading file from website. A user can fill in
I faced one issue while working on a C code with Microsoft Visual Studio-2005
We're often faced with the need to send a data file to one of
I have a study logout.php file which works fantastically, the issue I am faced
I faced following issue with my work: having two projects: MFC .dll and MFC
Recently we faced the issue of flowscope values not being set across the flow,
When I deployed my application on the server I faced this issue: Request.Url.ToString(); returns
I' ve been doing some programming lately and faced an issue which i found
I faced the following issue while I submitting my form using jQuery FORM and
I am faced with the following issue and at this point I feel like

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.