Managing Versions
In the Show History dialog box, you can get historical data and interact with the version history for the path you select. You can search the history and select revisions to get details. You can also compare two versions of a file, examine an old version in the workspace, or roll back your working copy to an old version.
To open the Show History dialog box
In the tree pane or file pane, you can select a file or folder under version control and do one of the following:
- In the version control toolbar, click
. - In the tree pane or file pane, right-click the file or folder you selected and then click Version Control > Show History.
- In the main menu, click Version Control > Show History.
Searching History and Getting Revision Details
You can search history and select revisions to get the commit author, date, message, and other historical data:
Getting Revision Details
You can select revisions to see the commit message and the files the commit changed. The table that lists the revisions contains the following fields:
| Revision | The revision number. |
|---|---|
| Action | The changes made in this commit:
|
| Author | The Subversion user who committed the revision. |
| Date | The date when the revision was committed. |
| Message | The message that the commit contains. |
The table that shows the modified files contains the following fields:
| Action | The type of change to the file:
|
|---|---|
| Path | The path to the changed file. |
| Copy path | The original file's path if the file was moved or renamed. |
| Revision | The original file's revision if the file was moved or renamed. |
Searching the Version History
See below for procedures and options to query the repository:
- Specifying Search Conditions
- Refreshing the Query Results
- Following Copy and Rename Changes
- Hiding Unrelated Changes
- Limiting Results
Specifying Search Conditions
You can filter by a date range or search commit information:
| From | Search for commits from this date. |
|---|---|
| To | Search for commits until this date. |
| Search string | In the box, type a search string. In the menu next to the box, select the commit information to search:
|
Refreshing the Query Results
Click Refresh to rerun the query against the latest version history from the repository.
Following Copy and Rename Changes
Select this option to stop the history at move or rename operations. For example, if you rename "A.txt" to "B.txt," you can use this option to show or hide the history for "A.txt."
Hiding Unrelated Changes
When you select a revision, the changed file list shows all the files the revision changed. Select this option to show only changes to the path you selected in the tree pane or in the file pane. Other files also changed by the revision are hidden.
For example, to show only the changes under a folder, you can select the folder in the tree pane or file pane, open Show History, and select Hide Unrelated Changes.
Limiting Results
Type the maximum number of log entries to retrieve from the repository, 100 entries by default.
Interacting with Version History
Examining a Version
Use Update to this Revision when you want to temporarily turn back to an old version, but not commit.
Note
Rolling Back to a Version
To roll back to an old version, click Replace with this Revision. This command rolls back your working copy. You can then do a commit, copying the old revision to the repository.
Comparing Versions
Comparing the Working Copy
To compare your local, working copy with the version you select, do the following:
- In the Show History dialog box, select a commit and click Compare with Working Copy. If you selected a file in the tree pane or file pane, the Flow Designer opens the diff program for the selected file and the selected version.
- If you selected a folder, the Diff List dialog box displays the affected files under the path you selected. To compare the changes in the flows or mappings that the files contain, select a file in the list and click Diff.
- Compare projects and function collections using the Diff Tool window. Compare other file types using the specified comparison (diff) program
Comparing Two Versions
To compare two versions of the file path you select in the tree pane or file pane, do one of the following:
- Compare a past version with the current version: Select a revision and click Compare with Working Copy.
- Compare two versions from the history: Hold the Ctrl key and select two revisions to compare, then click Compare Revisions.
Next, do one of the following to compare folders, projects, and other work files:
- Compare projects and function collections in the Diff Tool.
- Compare other file types in the default comparison (diff) program.
- Compare folders in the Diff List dialog box: You can see the files you changed under the path you selected. And, you can compare projects and function collections: click Diff to open the Diff Tool.
Add
Modify
Delete
Replace