Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Source Control Migration Halts with message “The branch source of item $/TeamProject1/Branch is not mapped in session VCSession_0.” How do I continue migration?

0
10 Posted

Source Control Migration Halts with message “The branch source of item $/TeamProject1/Branch is not mapped in session VCSession_0.” How do I continue migration?

0
10

The problem is that in TFS Branch operations require two paths. A path to branch from and a path to branch to. Both of these paths must be on the same server; but the migration tool will only migrate paths which are under a mapping. In your case the path in the error message is the branch to path which you have mapped. If the branch from path on the source server is not also mapped; then it will never be moved to the target server. The target server will be unable to create the branch; causing this error. In order to migrate this branch you need to figure out what the branch from folder is and create a new session with an additional mapping for that folder. Navigate to the $/TeamProject1/Branch folder in Source Control Explorer and Right Click it->Properties->Branches(tab) you should be able to see the branching structure for this folder. Add a mapping for each of the ancestors of the path you want to migrate.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123