Changes between Version 7 and Version 8 of UNPLANNED_REPO_MAINTENACE_R1b
- Timestamp:
- 11/17/08 14:01:49 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UNPLANNED_REPO_MAINTENACE_R1b
v7 v8 36 36 * How to create a tag on Linux 37 37 {{{ 38 $ svn copy http://svn.example.com/repos/calc/trunk \ 39 http://svn.example.com/repos/calc/tags/release-1.0 \ 40 -m "Tagging the 1.0 release of the 'calc' project." 38 $ svn copy svn://asteasolutions.net/sophie2-repo/trunk \ 39 svn://asteasolutions.net/sophie-jr/tags/m??-??? \ 40 -m "Comment." 41 Committed revision 351. 41 42 }}} 42 Committed revision 351.43 43 44 Here m??-??? stands for the milestone and its name for example m01-pre1.[[BR]] 45 After the copy completes, the new m??-??? directory is forever a snapshot of how the project looked in the HEAD revision at the time you made the copy. Of course you might want to be more precise about exactly which revision you copy, in case somebody else may have committed changes to the project when you weren't looking. So if you know that revision 350 of /sophie2-repo/trunk is exactly the snapshot you want, you can specify it by passing -r 350 to the svn copy command. In Subversion, there's no difference between a tag and a branch. Both are just ordinary directories that are created by copying. Just as with branches, the only reason a copied directory is a “tag” is because humans have decided to treat it that way: as long as nobody ever commits to the directory, it forever remains a snapshot. If people start committing to it, it becomes a branch. 44 46 45 47 * How to create a tag on Windows with TortoiseSVN: … … 48 50 * Right click on it 49 51 * TortoiseSVN -> Branch/tag 50 * Dialog window appears. Now instead of svn://asteasolutions.net/sophie2-repo/trunk (or svn:// 10.10.117.11/sophie-jr/trunk) use svn://asteasolutions.net/sophie2-repo/tags/m??-??? (or svn://10.10.117.11/sophie-jr/tags/m??-???). Here m??-??? stands for the milestone and its name for example m01-pre1.52 * Dialog window appears. Now instead of svn://asteasolutions.net/sophie2-repo/trunk (or svn://asteasolutions.net/sophie-jr/trunk) use svn://asteasolutions.net/sophie2-repo/tags/m??-??? (or svn://asteasolutions.net/sophie-jr/tags/m??-???). Here m??-??? stands for the milestone and its name for example m01-pre1. 51 53 * It is obligatory to write a comment when you commit. 52 54 * Tags must be created at the end of each iteration when the work is frozen. 53 * How to create a tag on Linux54 55 55 56 Committing rules: