Changes between Version 14 and Version 15 of HowToSVN
- Timestamp:
- 04/28/08 01:54:58 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowToSVN
v14 v15 33 33 * http://svnbook.red-bean.com/ 34 34 35 == Checkout source code == 36 37 * See DownloadSource 38 39 == Diffs == 40 41 * Before committing a change or submitting a patch you should review the changes. Viewing a diff is a nice way to do that. It is preferable to keep your patches concise- needless whitespace changes or a mixture of tasks can make it difficult to spot subtle changes introduced by your change. 42 43 View changes: 44 {{{ 45 svn diff raster/r.digit/ 46 }}} 47 48 Save patch to a file: 49 (run from top dir not the module dir. There are many "main.c" and "description.html" files to choose from and without the directory name it is hard to figure out where your patch should be applied) 50 {{{ 51 svn diff raster/r.digit/ > fancy_new.diff 52 }}} 53 54 == Commits back into the repository == 55 56 (must have write access) 57 35 58 * SVN prefers "atomic commits", i.e. commit changes to all files affected by a change at the same time, not in a series of commits (one for each file). 59 60 * Please make the {{{-m}}} commit log message meaningful. It is your chance to explain "why". If you refer to bug numbers in the form "#123" the Trac system will automatically create a link from the message to the bug report. The same is true for revision changes, e.g. "r12345". 61 {{{ 62 svn commit raster/r.digit/main.c \ 63 -m "fix bug #123: uninitialized variable (merge r12345 from trunk)" 64 }}} 36 65 37 66 === Merge between branches (backporting) ===