|
|
|||||||||||||||||||||||||||||||||
![]() |
![]() |
||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||
|
|
|
|
|||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||
|
|
|
|
|||||||||||||||||||||||||||||||
|
5.7 Merging from a branch several timesContinuing our example, the revision tree now looks like this:
where the starred line represents the merge from the `R1fix' branch to the main trunk, as just discussed. Now suppose that development continues on the `R1fix' branch:
and then you want to merge those new changes onto the
main trunk. If you just use the So instead you need to specify that you only want to merge the changes on the branch which have not yet been merged into the trunk. To do that you specify two `-j' options, and CVS merges the changes from the first revision to the second revision. For example, in this case the simplest way would be
The problem with this is that you need to specify the 1.2.2.2 revision manually. A slightly better approach might be to use the date the last merge was done:
Better yet, tag the R1fix branch after every merge into the trunk, and then use that tag for subsequent merges:
|
|
|||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||
|
Marketplace: | |||||||||||||||||||||||||||||||||
| " A BZ Research survey of 6,344 software development managers shows Linux superior to Windows for operating system security attacks, and OSS/FS was in most categories considered equal or better at the application layer. " | |||||||||||||||||||||||||||||||||