Topic
  • 3 replies
  • Latest Post - ‏2013-11-01T19:14:05Z by JirongHu
SystemAdmin
SystemAdmin
47293 Posts

Pinned topic Branching Strategy

‏2005-01-19T10:47:36Z |
Hi,

I am trying to create 3 branches of the main line for two projects that are using the same baseline.

I am intending to use a Baseline for Project1 and create a Main Branch and off that Branch Will like to have a Project1_Dev branch for the developers to work on. Also I would like to create another branch called project2 which would use the Same Baseline as Project1 to start with and also create a Branch off the Project2 called Project2_Dev.

I would like to know if there are additional Sources on Project1 branch that are not on the Project1 main branch and we update the branch project1_dev branch would that change the code that is on the project1 main branch.

Also I would like to know what the proper config spec for this would be.

Thanks in Advance
Updated on 2005-02-11T11:08:21Z at 2005-02-11T11:08:21Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    47293 Posts

    Re: Branching Strategy

    ‏2005-01-20T16:29:35Z  
    The chapter 2 of this book http://www-128.ibm.com/developerworks/rational/library/2110.html discusses general strategy of base ClearCase branching and baselining. As for the config spec, you have to determine the branching before determining config spec. Look into cleartool man config_spce for help.

    Hope it helps.
    Andy
  • SystemAdmin
    SystemAdmin
    47293 Posts

    RE:Branching Strategy

    ‏2005-02-11T11:08:21Z  
    I am not totally sure what you are asking, therefore I have made a few
    assumptions:

    You are using base ClearCase
    Project1 will be on the main branch
    You will also have to create the branch types

    If you are making the branch off main 0 then the following holds true

    Project1
    \main
    \project1_dev-------0---------\project2
    0 |
    0---\project2_dev

    0
    project1_Dev view config
    element * checkedout
    element * ..\project1_dev\LATEST
    element * \main\LATEST -mkbranch project1_dev

    project2_Dev view config
    element * checkedout
    element * ..\Project2_dev\LATEST
    element * ..\project2\LATEST -mkbranch Project2_dev
    element * \main\LATEST -mkbranch project2

    if you are making a the branches off a baseline on main the following is
    true

    Project1
    \main
    0
    1
    2 /BASELINE1
    3/
    \project1_dev-------4---------\project2
    0 |
    0---\project2_dev

    0
    project1_Dev view config
    element * checkedout
    element * ..\project1_dev\LATEST
    element * BASELINE1 -mkbranch project1_dev
    element * \main\LATEST -mkbranch project1_dev

    project2_Dev view config
    element * checkedout
    element * ..\Project2_dev\LATEST
    element * ..\project2\LATEST -mkbranch Project2_dev
    element * BASELINE1 -mkbranch project2
    element * \main\LATEST -mkbranch project2
    Julian Cook
    julian@ukonline.co.uk

    -----Original Message-----
    From: owner-cciug@lists.us.ibm.com mailto:owner-cciug@lists.us.ibm.com On
    Behalf Of ArunSeshadri
    Sent: 19 January 2005 10:48
    To: cciug@lists.us.ibm.com
    Subject: cciug Branching Strategy

    Hi,

    I am trying to create 3 branches of the main line for two projects that are
    using the same baseline.

    I am intending to use a Baseline for Project1 and create a Main Branch and
    off that Branch Will like to have a Project1_Dev branch for the developers
    to work on. Also I would like to create another branch called project2 which
    would use the Same Baseline as Project1 to start with and also create a
    Branch off the Project2 called Project2_Dev.

    I would like to know if there are additional Sources on Project1 branch that
    are not on the Project1 main branch and we update the branch project1_dev
    branch would that change the code that is on the project1 main branch.

    Also I would like to know what the proper config spec for this would be.

    Thanks in Advance
    <============================================================
    To unsubscribe, send email to
    majordomo@lists.us.ibm.com and put these words in the
    message body: unsubscribe cciug
    ============================================================>

    <============================================================
    To unsubscribe, send email to
    majordomo@lists.us.ibm.com and put these words in the
    message body: unsubscribe cciug
    ============================================================>
  • JirongHu
    JirongHu
    683 Posts

    Re: Branching Strategy

    ‏2013-11-01T19:14:05Z  
    The chapter 2 of this book http://www-128.ibm.com/developerworks/rational/library/2110.html discusses general strategy of base ClearCase branching and baselining. As for the config spec, you have to determine the branching before determining config spec. Look into cleartool man config_spce for help.

    Hope it helps.
    Andy

    Can you tell me what's the title of this book? The URL doesn't work anymore.

    Thanks

    Jirong