Changes between Version 28 and Version 29 of Development
- Timestamp:
- 07/22/09 05:12:02 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Development
v28 v29 75 75 = Development in a branch = 76 76 77 Most of our development is done on the trunk but occasionally we prefer to make our private corner for experimental changes. 78 Instructions on how to do that 77 Most of our development is done on the trunk but occasionally we prefer to make our private corner for experimental changes 78 or changes that might not be stable for some time. 79 Instructions on how to do that: 79 80 81 Create a branch and work on it: 82 83 Assuming you have already checked out http://svn.perlide.org/padre/trunk/ to /path/to/padre 80 84 81 85 {{{ 82 86 $ svn cp http://svn.perlide.org/padre/trunk/Padre http://svn.perlide.org/padre/branches/My-branch -m'some messages' 83 $ cd trunk/Padre87 $ cd /path/to/padre/Padre 84 88 $ svn switch http://svn.perlide.org/padre/branches/My-branch . 85 89 }}} 86 90 87 edit, commit as usual 88 when done 91 If you run 92 {{{ 93 svn st .. 94 }}} 89 95 90 TBD 96 You will see a letter S infront to the Padre directory as that one is switched. 91 97 92 }}} 98 Now you can edit, test and commit as usual. Your changes will be committed to the branch. 99 100 101 When done and you would like to merge your changes 102 103 1. Make sure everything is committed 104 105 {{{ 106 $ cd /path/to/padre/Padre 107 $ svn switch http://svn.perlide.org/padre/trunk/Padre 108 $ svn log --stop-on-copy http://svn.perlide.org/padre/branches/My-branch 109 }}} 110 111 This will show you the changes you made on the branch. Take the FIRST and LAST revision numbers in this log and 112 use the following command to see the full change you made: 113 {{{ 114 svn diff -rFIRST:LAST http://svn.perlide.org/padre/branches/My-branch 115 }}} 116 117 use the following to merge it back to trunk 118 {{{ 119 svn merge -rFIRST:LAST http://svn.perlide.org/padre/branches/My-branch . 120 svn commit -m'merged -rFIRST:LAST http://svn.perlide.org/padre/branches/My-branch ' 121 svn rm http://svn.perlide.org/padre/branches/My-branch -m'My-branch is not needed any more' 122 }}} 123 124 If you decided it was a dead-end you can just switch back to trunk and remove the branch.
