Scenario 6 - Applying bug fixes in a previous version to the current version
Return to Introduction  Previous page  Next page
A couple of weeks after the fix has been applied to the LITE version, an existing client reports a similar problem. Joanne is tasked with investigating this bug. She remembers that this had been reported in the LITE version and asks Ewan if he remembers what files he changed to fix the bug. He tells her that it was in the InstClasses.pas file.

Joanne starts Version Manager and makes sure that she is using the <default> view. She locates the file in Version Manager and selects it to display the revisions for the file. She sees the Version Label attached to a previous revision and double-clicks the revision to show its properties. It is the LITE version.

She selects the tip revision, which is the one for the current version of the commercial release, and checks it out so she can make the necessary changes. She then selects the revision that has the LITE version label attached to it. She selects Action/Differences/InstClasses.pas from the main menu to display the difference viewer.

There have been a number of changes to the commercial release of the file so she scrolls down the difference display to locate the changes that Ewan made to fix the bug. Luckily he had commented the changes he made, so locating the changes is pretty easy. She selects the lines of code that make up the changes in the left-hand pane and right clicks to display the context menu. She selects Copy Right> to copy the changes to the working file.

Happy that she has applied the correct changes, she shuts down the difference viewer and saves the changes in the process. She decides to test the changes by recompiling the project in Delphi and, happy that the commercial version has been fixed in the same way as the LITE version, she checks in the InstClasses.pas file.

 


© 1995-2018 MCN Software