Changes between Version 7 and Version 8 of WikiStart


Ignore:
Timestamp:
2007-10-24T08:40:57Z (17 years ago)
Author:
Huw Lewis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v7 v8  
    4040}}}
    4141
     42
     43== Branches ==
     44
     45It is recommended that developments to ROPP are conducted and committed to a ''branch'' rather than directly to the latest trunk version.
     46This allows for changes to be tested before merging the required changes back into the trunk. The trunk therefore represents the 'next release' state for ROPP.
     47
     48To create a branch of ropp_src from the trunk use the command:
     49{{{
     50fcm branch -c -n <branch name> -t DEV::SHARE --rev-flag NORMAL --branch-of-branch fcm:ropp_src_tr
     51}}}
     52where <branch name> is a name of your choice which should reflect what you are working on.
     53To create a branch for sole use by the user, specify -t DEV::USER in the branch command. Similar branches can be created to store user versions of ropp_doc, ropp_test and ropp_web as required.
     54
     55To make developments, the branch needs to be checked out as above, specifying the path name for the required branch as
     56{{{
     57fcm co fcm:ropp_src/branches/dev/Share/<branch name>
     58}}}
     59or
     60{{{
     61fcm co fcm:ropp_src/branches/dev/<user id>/<branch name>
     62}}}
     63if using a private user branch.
     64
     65When all the changes you require to your branch have been committed and the ROPP development team are satisfied that it will be part of the next release, these changes will be merged back into the trunk by using merge. To do this, you must first change directory to your working copy of the trunk (create one using checkout if you don't already have it). Then enter the following:
     66{{{
     67cd ${HOME}/FCM/ropp_src
     68fcm merge fcm:ropp_src/branches/dev/Share/<branch name>
     69}}}
     70After the merge, you will get a list of changes and your working copy of the main trunk will be updated. Nothing will change in the repository until you commit your working copy of the main trunk back into the repository. If everything has gone smoothly, you should delete your branch by using the following commands:
     71{{{
     72cd ${HOME}/FCM/<branch name>
     73fcm branch --delete
     74}}}
     75
     76While you are working on your branch, you may want to bring in the changes that have been made to the main trunk. This can be done using the merge command. You must first change directory to your branch's working copy:
     77{{{
     78cd ${HOME}/FCM/<branch name>
     79fcm merge fcm:ropp_src_tr
     80}}}
     81When you do this, you should see the list of updates that have been made to the trunk since you last brought in any changes (or since you branched). Again, this only results in changes to your working copy so you might want to commit them.
     82
    4283== FCM ==
    4384