Changes between Version 28 and Version 29 of Developers/SVN_QuickReference
- Timestamp:
- 2017-12-08T17:58:22+01:00 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Developers/SVN_QuickReference
v28 v29 80 80 # for csh " " " "" , " "" " "" "" ~/.login ) 81 81 setenv SVN_EDITOR='your_favourite_editor' 82 # Commit and write the log message (ticket link #.... and so on) in your editor83 svn ci files_list # `svn ci` without files list will commit all modified files recursively from the current directory84 # or directly from the command line of the shell session85 svn ci -m 'log message' files_list86 82 }}} 87 83 88 ==== Commit message syntax 84 {{{#!div class="notice system-message" 89 85 90 New syntax to add in commit message to enable extended functionalities `[command #ticket_number]` 91 * Add commit message as comment in the ticket: ex `[see #ticket_number]`, you can use a word in `addresses re references refs see` 92 * Close a ticket with the commit: ex `[fix #ticket_number]`, you can use a word in `close closed closes fix fixed fixes` 86 __Recommended syntax to be added in the commit message__ 87 88 * If the commit is related to one or several tickets, we highly suggest to add the commit message as ticket comment. \\ 89 To do so, you can use one of the word in the list `addresses re references refs see` followed by usual ticket link(s). \\ 90 ''Ex: `see #1948` somewhere in the commit message to link with #1948'' 91 92 * If the commit is a fix for one or several tickets, you can close them with the commit. \\ 93 To do so, you can use one of the word in the list `close closed closes fix fixed fixes` followed by usual ticket link(s). \\ 94 ''Ex: `fix #1948` somewhere in the commit message to close #1948 without a browser.'' 95 96 __Be careful if you mix the 2.__ 97 98 }}} 99 100 {{{#!sh 101 # Commit and write the log message (ticket link #.... and so on) in your editor 102 svn ci files_list 103 # `svn ci` without files list will commit all modified files recursively from the current directory 104 # or directly from the command line of the shell session 105 svn ci -m 'log_message' files_list 106 }}} 107 93 108 94 109 === Tag