Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Move source control from one TFS project to another

We're running a TFS 2013 server with several projects within our main collection.

All projects use TFVC for version control.

Is it possible to move (or just copy) the code history completely from one project to another? And if yes, how?

Or do we have to commit the whole code from the old project as new code to the new project, loosing the total history of the old version control? I read something about migrating TFVC to GIT in a new project - but nothing about TFVC to TFVC.

like image 558
Konrad Avatar asked Jan 13 '15 07:01

Konrad


2 Answers

Take a look at the TFS Integration Platform (Don't let the name throw you...)

This tool can help you copy Work Items and/or Source (with history) between Projects on the same server, different Project Collections or even different servers.

I've used it a number of times and it's gotten the job done (and the price is right... free).

like image 198
Greg Duncan Avatar answered Oct 04 '22 02:10

Greg Duncan


As an alternative to the TFS Integration Platform, with which i have a love-hate-relationship, you can achieve good results with:

  • Timely Migration

There are other commercial options available as well, from which OpsHub Integration Manager is probably the most feature complete, but I've ran into bugs with that solution multiple times which required a full restart of the migration or made the migration take weeks instead of hours.

If you want/need a free solution, the TFS Integration Tools can do the trick. If you're lucky it just works. If you're unlucky and the Team Project you're trying to migrate has seen a few TFS upgrades, then it may just run into situations which need to be resolved manually. This manual process is very tedious and the documentation of the steps required are almost none-existent or just too hard to understand.

like image 22
jessehouwing Avatar answered Oct 04 '22 01:10

jessehouwing