Search code examples
tfsazure-devopstfvc

Merge TFVC repository into existing TFVC repo


I'm working on migrating a team project from an on-premise TFS server into an existing Team Project on VSTS. Both Team Projects use Team Foundation Version Control (TFVC) as its source control system.

First I looked into Microsofts TfsMigrator tool, but this require me to create a new VSTS account. Then I've been looking into VSTS Sync Migrator which will allow me to transfer work items, but not source code history.

So I'm now wondering:

Is there any way of migrating the source code to the existing TFVC repository without losing history?

Alternatively, can we create a new Team Project in VSTS and move the source code there, and still keep the history?

Been trying both, but can't figure out a way. Google only want me to migrate to Git, which is not what I want.


Solution

  • We decided to create a new GIT repository in our Team Project, and then migrate our code there using git-tfs.

    An alternative would be to use OpsHub, but that would require a new Team Project.