Changes between Version 1 and Version 2 of ropp_repository
- Timestamp:
- 2008-03-13T10:07:17Z (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ropp_repository
v1 v2 10 10 https://svn.grassaf.org/ropp/ 11 11 }}} 12 For example, checking out the latest development (trunk) versions: 12 13 For a complete list of Subversion commands see the [http://svnbook.red-bean.com/en/1.0/index.html SVN reference manual] 14 15 '''Checking out trunk''' 16 17 To [http://svnbook.red-bean.com/en/1.0/re04.html checkout] the latest development (trunk) versions: 13 18 {{{ 14 19 svn checkout https://svn.grassaf.org/ropp/ropp_src/trunk . … … 16 21 svn checkout https://svn.grassaf.org/ropp/ropp_test/trunk . 17 22 }}} 18 will check out the source code, documentation, and test folder, respectively to the local working directory.23 This will check out the source code, documentation, and test folder, respectively to the local working directory. 19 24 20 For a complete list of Subversion commands see the [http://svnbook.red-bean.com/en/1.0/index.html SVN reference manual]21 25 22 26 == Branches == 23 27 24 Developments to ROPP should be made from, and committed to, a ''branch''rather than directly to the latest trunk version. This allows changes to be tested before merging the required changes back into the trunk. The trunk therefore represents a stable 'next potential release' state for ROPP. Branches can be temporary and might be for working on resolving a specific Trac Ticket.28 Developments to ROPP should be made from, and committed to, a [http://svnbook.red-bean.com/en/1.0/ch04.html#svn-ch-4-sect-1 branch] rather than directly to the latest trunk version. This allows changes to be tested before merging the required changes back into the trunk. The trunk therefore represents a stable 'next potential release' state for ROPP. Branches can be temporary and might be for working on resolving a specific Trac Ticket. 25 29 26 30 '''Creating a branch''' 27 31 28 To create a branch of ropp_src from the trunk use the ''svn copy SRC DST''command:32 To create a branch of ropp_src from the trunk use the [http://svnbook.red-bean.com/en/1.0/re07.html svn copy ''SRC DST''] command: 29 33 {{{ 30 34 svn copy https://svn.grassaf.org/ropp/ropp_src/trunk https://svn.grassaf.org/ropp/ropp_src/branches/dev/Share/<branch_name> 31 35 }}} 32 where <branch name> is a name of your choice which should reflect what you are working on. 36 where <branch name> is a name of your choice which should reflect what you are working on. This prompts a text editor where you should describe the purpose of the new branch. 33 37 34 By default it is assumed that you wish to branch from the latest change version of the trunk. The ''-r'' flag can be used to specify the trunk revision from which a branch is required if this is not the latest. The ''-m'' flag shouldbe used when creating a branch to describe the contents of the branch.38 By default it is assumed that you wish to branch from the latest change version of the trunk. The ''-r'' flag can be used to specify the trunk revision from which a branch is required if this is not the latest. The ''-m'' flag could also be used when creating a branch to describe the contents of the branch. 35 39 {{{ 36 40 svn copy [-r revision] SRC DST [-m "some text here"] … … 49 53 50 54 Code developments are then made and logged within a branch as normal. 51 To view the local changes made to a branch, use the ''svn status'' command55 To view the local changes made to a branch, use the [http://svnbook.red-bean.com/en/1.0/re04.html svn status] command. 52 56 53 57 54 58 '''Committing changes to a branch''' 55 59 56 When changes to a branch are ready to be updated in the repository, the code needs to be committed .60 When changes to a branch are ready to be updated in the repository, the code needs to be committed using the [http://svnbook.red-bean.com/en/1.0/re05.html svn commit] command. 57 61 {{{ 58 62 svn commit -m "Some text here to describe the changes"