Move branches in the command system

I have the following script in my TFS:

MyTeamProject
      Trunc
          Sources
          Scripts
          Installations
      Prod
          Sources
          Scripts
          Installations

When prod is a trunc branch.

Now I need to create versions in my working folder:

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

How to transfer the current version to the folder version 1.0.0 and still maintain the branch ratio from trunc to v1.0.0 (formerly "Prod")? If I move one folder at a time (Sources, Scripts and Installations), I will have a branch relation to specific folders, and not to the whole Trunc.

Any idea?

+3
source share
1 answer

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

  • Rename $ / MyTeamProject / Prod to $ / MyTeamProject / v1.0.0 (you cannot move the folder by yourself)
  • "$/MyTeamProject/v1.0.0" "$/MyTeamProject/Prod/v1.0.0"

"$/MyTeamProject/Trunk" "$/MyTeamProject/Prod/v1.1.0"

+2

Source: https://habr.com/ru/post/1738334/


All Articles