Quantcast
Channel: VFPX
Viewing all articles
Browse latest Browse all 3798

Updated Wiki: PlasticSCM - Desintegrate a task from the release

$
0
0

 

 

PlasticSCM - Disintegrate a task from the release

So you have been working on different tasks, each one in its own branch, you are going to release again, but there is something wrong with the task_001 from the previous code integration, you want to drop this task because of a new requirement, so it is not needed anymore :_( , and what a difficult task it is! What are you going to do now? How can you drop all these modifications? Which were those modifications?

Subtractive merge to the rescue

There is an SCM operation called “subtractive merge” that work exactly opposed to the normal merge, because it calculates what to drop and if not sure make you decide, but showing all the needed information to do it.

Let’s disintegrate! :)

First, we select what to disintegrate, in this case Plastic needs an open-close interval selection (as in math, “open” is the point selected but not included, and “close” is the point selected and included)

PlasticSCM_en_work_39_SubtractiveMerge_of_task_001.png


Now Plastic have detected this files:

PlasticSCM_en_work_40_SubtractiveMerge_of_task_001__merge_view.png


We “Process all merges”:

PlasticSCM_en_work_41_SubtractiveMerge_of_task_001__merge_view_after_process.png


This can’t be true! All automatic in this case? No manual intervention?
Let’s see what Branch Explorer shows about this operation:

PlasticSCM_en_work_42_SubtractiveMerge_of_task_001__BranchExplorer_view.png


Now, we need to verify this on the Pending Changes view:

PlasticSCM_en_work_43_SubtractiveMerge_of_task_001__PendingChanges_view.png


Ok, the files are those, but we need visual confirmation of the changes in the code, we press the shortcut CTRL+D on the sc2 file, or use the right-click menu:

PlasticSCM_en_work_44_SubtractiveMerge_of_task_001__PendingChanges_view_options.png


PlasticSCM_en_work_45_SubtractiveMerge_of_task_001__PendingChanges_view_code.png


Ok, so far, so good, it have a good looking, but we need to regenerate the binary from the disintegrated sc2 file, and see for ourselves the result in VFP just to be sure:

PlasticSCM_en_work_46_SubtractiveMerge_of_task_001__PendingChanges_regenerate_binary.png

PlasticSCM_en_work_47_SubtractiveMerge_of_task_001__PendingChanges_see_binary_in_VFP.png


Well, yes, this is the original form before the modifications, so we can check it in now and go to Branch Explorer:

PlasticSCM_en_work_48_SubtractiveMerge_of_task_001__BranchExplorer.png


Finally, we have disintegrated one task in only one subtractive-merge operation.

Of course, this was an easy case just to show how it works, and in real life with lots of changes you surely must resolve manual conflicts, but they will be shown just as a normal merge with all the information you need to do the task.

 

 

Index of contents:

Using FoxBin2Prg with PlasticSCM
PlasticSCM - Download and configuration
PlasticSCM – Adding an existing VFP project
PlasticSCM – Working with branch per task
PlasticSCM – Working with branches with a second developer on same task
PlasticSCM - Desintegrate a task from the release
PlasticSCM – What’s next

Viewing all articles
Browse latest Browse all 3798

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>