In TFS, the direction of the parent-child relationship of the branch is important

Is the direction of the relationship between parents and children important? Is the parent / child only an abstract concept that identifies the source and which was the destination, or are there specific operations that can be performed in only one direction, so is it important to make the direction of the relationship?

Here is some background information to explain the reason for this question.

We recently implemented a new branching strategy and decided to go for this simple setup:

Dev -------------------------------
          \
      Main >-----------------------
                  \
        Production >---------------

This seems to work for us, but all the recommendations I read suggest that the root should be the main one. So instead, it should look like this:

      Dev  >-----------------------
          /
Main ------------------------------
                  \
        Production >---------------

, , , - Main Dev .

, Dev ? , , - Dev main. - Main, Dev, , ?

, , , , .

+5
2

:. , DEV, MAIN, TFS.

. DEV TFS... , , , , , TFS.

, TFS. , . , , ( ), /.

MAIN (aka Root Trunk Ancestor branch): , "", "" .. . , , , . , , , MAIN / , . - , root = DEV, ( , "" - DEV).

: FI (Forward Integrate from parent child) RI ( ) - , . FIRI ( "Fiery" ), , ( ) RI . , . , FI DEV () MAIN (child). / , DEV , : " FI MAIN branch?". , Team Branch/Merge " :. ( ) DEV MAIN, TFS ( 4/25/2012)". DEV.

( , , "" "", ... , , , ( "" "" "- , .)

: DEV_FeatureX MAIN, . (TFS , ... , :-).) , ( ), ,

, , . ! -Zephan

+7

. "" , , .

, .

, Production Main, Dev:

  • Dev Main, Main to Dev, Main Prod Prod to Main.
  • Dev Prod Prod Dev .

? , . (, Dev Prod), TFS , .

, wikipedia

: TFS, .

+1

All Articles