One of the benefits of Flare's integrated source control is that you can view the history and differences for a particular file. You can view code and content differences between two source control versions of the same file. This is useful if you need to roll back to an earlier version of a file.
example
Let's say that you have been working on a particular topic for a few days. Each day you check out the latest version of that topic file from source control, make your changes, and check the file back in to source control at the end of the day. At a certain point, you determine that you need to "roll back" to an earlier version of the file, using it to replace the latest version. Therefore, you use this feature to view the highlighted differences between the current version and an older version of the file. Once you have identified the older version that you want to use, you can perform a "get" of that version.
See About Source Control and Multi-Authoring, Viewing the History of Source Control Files, and Viewing Differences in Source Control Files.
How to roll back to an earlier version of a file
Specific content file:
In the Standard toolbar, click the down arrow next to the Source Control button
.
Note: Alternatively, you can right-click on the file or folder and select Source Control from the context menu.
Specific project file:
In the Standard toolbar, click the down arrow next to the Source Control button
.
Note: Alternatively, you can right-click on the file or folder and select Source Control from the context menu.
Main FLPRJ file:
Select Project>Project Properties.
The Project Properties dialog opens.
.Select View History.
The History dialog opens.
To view the differences, follow these steps:
Click Show Differences.
A window pane opens displaying the first version selected on the right side and the second version selected on the left side. The differences between the versions are highlighted.
Note: This split window pane opens only if you are using Microsoft Visual SourceSafe. If you are using Microsoft Team Foundation Server, the Show Differences Dialog, which is a simple text-based viewer, opens instead. However, if you install Team Explorer, a more robust window pane will open.
Click Get Selected Version.
That file is downloaded from source control and replaces the local copy of the file in your project.