Penjawab teratas

TFS2010 Error when changing branch parent

Pertanyaan

My working branch used to have a parent called Trunk. I converted my branch to a folder. Then I went to the new parent, which is also called Trunk but in a different source location and tried to create a branch, pointed the target branch to my
working folder. I got an error saying "Branch from Trunk The iteam <folder path> already exists."

This is the folder structure, ytan024 is my working work folder. it used to be a branch of Foundation/Trunk. I have converted it to a folder. Now I want to branch ytan024 from Foundation/Development/Trunk.

According to your description of the issue, I suppose the situlation is you have $/Foundation/Development/ytan024 branch branched from $/Foundation/Trunk, then convert this ytan024 to folder. Now you want to create a new branch $/Foundation/Development/ytan024
from $/Foundation/Development/Trunk. If I have misunderstood anything, please free feel to let me know.

The target branch name is $/Foundation/Development/ytan024 too, but there already exists a item with the same name. Also you mentioned "Trunk but in a different source location", but the target item name should unique.

Lily described it correctly. I have a branch called ytan024, it was branched from Foundation/Trunk. But now the check in process has changed, it's now a two stage check-in, me as developer can only check in to Foundation/Development/Trunk, QA people will then
merge the Dev Trunk with the Foundation/Trunk. So instead of merging ytan024 with Foundation/Trunk, I want to set up branching with Foundation/Development/Trunk instead, so I can merge with it in the future.

Looks like there is no other way to do it than to delete the existing ytan024 folder, and branch from Foundation/Development/Trunk.

My Question was, is there a way to branch into an existing folder, rather than creating a new folder as the branch target everytime?