From 117f43288c863aef476e6ea12c34da51e44380b9 Mon Sep 17 00:00:00 2001
From: Beman Dawes
- Command Line CVS:
-cvs update -r RC_1_26_2 [switch to the branch] -[modify buggycode.hpp] -cvs commit buggycode.hpp -[repeat modify/commit as desired] +[After fixed code is committed to main branch] +cvs update -r RC_1_26_2 [switch to the release candidate branch] +cvs update -j HEAD buggycode.hpp [merge changes from the trunk to the branch] + --> RCS file: /cvsroot/boost/.../buggycode.hpp,v + --> retrieving revision 1.4 + --> retrieving revision 1.6 + --> Merging differences between 1.4 and 1.6 into buggycode.hpp -[when ready for first merge] -cvs update -A [switch to the trunk] -cvs update -j RC_1_26_2 buggycode.hpp [merge changes to the trunk] -[resolve any conflicts, make sure it builds, etc. etc.] -cvs commit -m "Merged from branch to trunk" buggycode.hpp -cvs update -r RC_1_26_2 buggycode.hpp [switch back to the branch] -cvs tag RC_1_26_2_last_merge buggycode.hpp [keep track of the last merge -point] -[merge is complete] +cvs commit -m "Merged fix for problem xyz from trunk to branch" buggycode.hpp -[modify buggycode.hpp] -cvs commit buggycode.hpp -[repeat modify/commit as desired] - -[when ready for second and subsequent merges] -cvs update -A -cvs update -j RC_1_26_2_last_merge -j RC_1_26_2 buggycode.hpp -[resolve any conflicts, make sure it builds, etc. etc.] -cvs commit -m "Second merge from branch to trunk" buggycode.hpp -cvs update -r RC_1_26_2 buggycode.hpp -cvs tag -F RC_1_26_2_last_merge buggycode.hpp [-F forces the tag to move; or -create a new tag] -[merge is complete] -+[Repeat as needed]
- WinCVS:
-Switch to branch: Select file(s), then Modify | Update selection... | - Update settings | Sticky options | Retrieve rev/tag/branch: RC_1_26_2 | OK
+
-
- Edit files needing fixes.
-
- Commit changes: Modify | Commit... | Enter log message: ... | OK
-
- Switch back to main trunk: Modify | Update selection... | Update settings | - Reset any sticky date/tag/-k options. | OK
-
- If changes should also be merged into main trunk:After fixed code is committed to main branch, switch to the release + candidate branch:
--Merge changes from release candidate to main trunk: Modify | Update - selection... | Merge options | Only the rev/tag: RC_!_26_2 | OK
+
-
- Commit merge results: Modify | Commit... | Enter log message: ... | OKSelect file(s)
+Modify | Update selection... | + Update settings | Sticky options | Retrieve rev/tag/branch: RC_1_26_2 | OK
Note that if a second or subsequent merge is required:
+Merge changes from main trunk into the release candidate branch:
-+Switch to branch: Select file(s), then Modify | Update selection... | - Update settings | Sticky options | Retrieve rev/tag/branch: RC_1_26_2 | OK
-Tag to keep track of last merge point: Modify | Create tag on - selection... | Enter tag name: RC_1_26_2_last_merge | Overwrite existing - tags with same name | OK
-Edit files needing fixes.
-Commit changes: Modify | Commit... | Enter log message: ... | OK
-Switch back to main trunk: Modify | Update selection... | Update - settings | Reset any sticky date/tag/-k options. | OK
-
-
- If changes should also be merged into main trunk:-+Merge changes from release candidate to main trunk: Modify | Update - selection... | Merge options | [select] Plus with this rev/tag: - RC_1_26_2 | [and above that, without selecting, enter ]Only the rev/tag: - RC_1_26_2_last_merge | OK
-
-
- Commit merge results: Modify | Commit... | Enter log message: ... | OKModify | Update selection... | + Update settings | Merge options | Only this rev/tag: HEAD | OK
+Commit merge results:
++Modify | Commit... | Enter log message: ... | OK
(To be supplied)
+At time of branch-for-release:
+merged_to_RC_n_n_n
.RC_n_n_n
.This web page was written by Beman Dawes, with helpful suggestions from Dave -Abrahams and Steve Robbins. Jim Hyslop contributed the detailed CVS procedures.
+Abrahams and Steve Robbins. Jim Hyslop contributed the original CVS procedures. +Updated by Jeff Garland after 1.29 release based on list discussions.Revised: -28 January, 2002
+06 March, 2003