tfs2010 - Require a file to be checked in / merged in to two places in TFS 2010 -


we have our development branch has multiple revisions of our code. looks like:

development

      r1.0       r2.0       r3.0       rx 

we working on multiple releases simultaneously. so, team work on r2.0 while team b work on r3.0. while team making changes in r2.0, need make sure these changes reflected in r3.0. there way require developer check in file r3.0 if he/she attempting check file in r2.0?

edit 8/1/2013

after reading several articles on branching , merging strategies, have idea of how should approach issue. want run , ask if i'm headed in right direction. so, instead of having development branch , copies of releases, should have main (development) branch, , branch off of each release. then, defined in our branching , merging strategy, merge changes in our r1.0 , r2.0 branches main. , when want work on r3.0, fresh merge of r1.0 , r2.0 main, , create new branch main. then, need hotfix r1.0, create r1.1 r1.0 , merge r1.0 main, main r2.0 , r3.0. work on new releases simultaneously, keep main current our next release. if r1.0 has been released already, main should kept date r2.0 branch since next release. please correct me if i’m wrong , point me in right direction. new branching , merging.

i idea , think handle problem. doing similar except have merge branch(intermediate branch) in between main , releases.

main -> intermediate -> r1

main -> intermediate -> r2

main -> intermediate -> r3

the advantage of option that:

  1. you dont have bring in changes main (trunk) , main stay clear , act golden production code.
  2. adds layer of protection golden code. let's say, r3 branch created intermediate, @ point r2 decided scrap release. in case, if go intermediate branch (which has r1 + r2 @ point) can delete intermediate branch , branch off main( has r1) create new intermediate (instead of rolling backing changes approach). start off new r3.

just my$0.02


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -