Search code examples
tfstfs-2015tfvc

Move a source code project within a collection in TFS 2015


Is there a (not too difficult) way to do what is depicted in the following image when using TFS 2015?

Excerpt from Source Control explorer

We have a source code project, "Solvency", that we would like to move so that it becomes a child of "Corporate Systems". And, we want the history to be intact.


Solution

  • Source code can't be moved easily across team project boundaries. The most straightforward way is to just do a tip migration, where you take the current version of the source code and check it in manually.

    If you need to maintain history, you'll have to look at migration tools. Depending on the complexity of the structure you have, you may be able to just use git-tf or git-tfs to convert the TFVC repo into a Git repo, then use the tool again to play back the changes in the Git repo into the target TFVC repo.