I have a Team Foundation Server 2013 code structure like follows...
$/TeamProject/Application/AllTheCodeFiles
...but I'd like to refactor to have...
$/TeamProject/Application/Trunk/AllTheCodeFiles
Which will allow me to implement a branching and merging strategy moving forward by creating "Release" branches at the same level as "Trunk".
If I try to either branch or move the Application directory into Trunk, I get the error message:
The target item $/TeamProject/Application/Trunk cannot be under the source item $/TeamProject/Application.
So, here's the process that I followed, it feels wrong and I'm guessing that there's a more efficient way of doing this.
- Rename
$/TeamProject/Application
to$/TeamProject/Application-trunk
- Create a new
$/TeamProject/Application
directory - Move
$/TeamProject/Application-trunk
to$/TeamProject/Application/Trunk
After doing this, history is associated with $/TeamProject/Application
not $/TeamProject/Application/Trunk
. My question is this, someone who knows more would do this in what manner?