How do I create a Team Project by branching the code from another Team Project in TFS 2013?

3

Until the 2012 version of TFS it was possible to create a new Team Project, starting the code repository branch of another Team Project, figure below, but this option is no longer available in TFS 2013. Is there any way?

    
asked by anonymous 11.08.2014 / 22:21

2 answers

4

Using Team Foundation Power Tools , and the option of not creating a folder for source code linked to Team Project, an option that has never been available in the wizard, gives you the option of creating a Branch. Here's how to view information about the command:

C:\Program Files (x86)\Microsoft Team Foundation Server 2013 Power Tools>tfpt createteamproject /?

Among the various options we have / sourcecontrol, and this parameter can create a new folder and give a name, or not create a folder, to a non-software project; or Branchpath ...

/sourcecontrol Specifies source control options: 'New' to create a new source control
tree; 'None' to create a project without source control support; 
'Branch:branchpath' to branch from an existing path on the TFS server. 
For the Branch option: if the branchpath does not exist on the TFS server, 
a list of existing paths are printed.

Remembering that path is the path in TFVC.

    
12.08.2014 / 16:47
-1

Apparently you have to first create the team and then start the branch:

link

    
12.08.2014 / 00:17