Changes between Version 52 and Version 53 of Developers/SVN_QuickReference
- Timestamp:
- 2018-11-09T01:51:21+01:00 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Developers/SVN_QuickReference
v52 v53 98 98 }}} 99 99 }}} 100 |- 101 {{{#!th 102 Push changes 103 }}} 104 {{{#!td 105 Common way 106 {{{#!sh 107 $ svn ci [-m 'log message in one line'] items 108 }}} 109 110 Push modified external items with explicit option \\ 111 (__no revision or `@HEAD` has been set on related external definition)__ 112 113 {{{#!sh 114 $ svn ci --include-externals ... 115 }}} 116 }}} 100 117 101 118 == Manage versioned SVN properties on items … … 147 164 $ svn propdel ${SVN_PROPERTY} ${WCPATH} 148 165 }}} 149 150 == Push changes to the repository151 152 {{{#!sh153 $ svn ci [-m 'log message in one line'] items154 }}}155 156 ====157 158 Then in the appropriate directory159 160 {{{#!sh161 # Commit and write the log message (ticket link #.... and so on) in your editor162 $ svn ci files_list163 # `svn ci` without files list will commit all modified files recursively from the current directory164 # or directly from the command line of the shell session165 $ svn ci -m 'log_message' files_list166 # Tip: set your editor for SVN for multi-lines commit message167 # for sh and other related shells, interesting to include it in ~/.profile or ~/.bash_profile)168 $ export SVN_EDITOR='your_favourite_editor'169 # for csh " " " "" , " "" " "" "" ~/.login )170 $ setenv SVN_EDITOR='your_favourite_editor'171 }}}172 173 === Push modified external items from a working copy174 175 Use explicit option with SVN commit command, '''think that no revision has to be set on related ext def (equivalent to `@HEAD`)'''176 177 {{{#!sh178 $ svn ci --include-externals ...179 }}}180 181 ----182 183 With the new layout of the repository, some may encounter downloading or updating issues with184 185 {{{#!sh186 $ svn co -r ${REV} ${URL}187 }}}188 189 Use instead the more robust syntax190 191 {{{#!sh192 $ svn co ${URL}@${REV}193 }}}194 195 See http://svnbook.red-bean.com/en/1.7/svn.advanced.REVs.html for more.