Reputation: 1131
In our TFS(2007), we've got this (bad) hierarchy :
$main
|_ $V1
|_ $V2
Ok ... it's a bad move from us.
Now, we'd like to have that :
$main
|_ $V1
|_ $V2
Is there a way to un-branch $V2 from $V1, and branch it to $main ?
Upvotes: 1
Views: 586
Reputation: 3
With VS2013 and VS2012, there is a feature called Re-Parent. I never used it, but the documentation sais, that it's what you need... (IMO).
[Update for new VS-Versions]
Upvotes: 0
Reputation: 6609
First, TFS 2007 doesn't exist! :) Either 2005 or 2008.
Second, yes, it's a bad move.
Third, you can't change the relationship between branches, so you can't unbranch/rebranch.
Solution: You won't like it, but that's the only way to go, create the new proper hierarchy of branches then copy the content.
You can copy in many way, here's one:
If your project is big: good luck! (but you'll succeed and it's better now than later, trust me)
Upvotes: 1