tags:

views:

35

answers:

1

Hi. I have the following scenario in my TFS:

MyTeamProject
      Trunc
          Sources
          Scripts
          Installations
      Prod
          Sources
          Scripts
          Installations

When prod is a branch of trunc.

Now I need to create versions under my production folder:

    MyTeamProject
      Trunc
          Sources
          Scripts
          Installations
      Prod
          V1.0.0
              Sources
              Scripts
              Installations
          V1.1.0
              Sources
              Scripts
              Installations

How can I move the current production to the version 1.0.0 folder, and still keep on the branch relation from trunc to v1.0.0 (previously "Prod")? If i'll move one folder at a time (Sources, Scripts & Installations), I'll have the branch relation to the specific folders, and not on the entire Trunc.

Any Idea?

A: 

I have been in this situation before, and it is actualy easy to solve once you have done it once:

  1. Rename "$/MyTeamProject/Prod" to "$/MyTeamProject/v1.0.0" (You can't move the folder under itself)
  2. Check-in
  3. Rename "$/MyTeamProject/v1.0.0" to "$/MyTeamProject/Prod/v1.0.0"
  4. Check-in

You can now crete a new branch from "$/MyTeamProject/Trunk" to "$/MyTeamProject/Prod/v1.1.0"

MrHinsh