Replacing source files

If an earlier revision of a source files needs to be restored, it can be done using the Replace With option.

To replace a source file with its earlier revision from the local history, do the following:

 

1.     Right-click the "hello" source file (or any other source file that needs to be restored) in the 4GL Project view and select the Replace With -> Local History… option:

 

 

2.     The replace dialog will be opened where you will find the list of revisions of the source file.

3.     Double-click on the previous revision of the source file. The compare editor will be opened in the pane below:

 

 

4.     Press the Replace button to replace the source file with the selected revision.