How to compare revisions

When you need to compare the versions of the file, a convenient tool is the best solution. The ability to compare changes is especially helpful when you are trying to find the reason why something went wrong. Git Support in The Welkin Suite includes a built-in functionality for comparing revisions.

You can compare changes in the files in 2 ways:

  • before commit — on the Changes tab right-click on the file you want to explore and select Compare.

Compare revisions from the context menu


  • the branch history — open the details of a commit from the Branch History details panel, and double-click the file you want to explore in the Commit details panel.

Both these actions will open the diff view for comparing changes. By default, The Welkin Suite opens the built-in KDiff3 viewer. You can customize your merge tool in the Options Menu: Main Menu ⇒ Tools ⇒ Options… ⇒ External tools ⇒ Merge tools.

Comparing tool

The Compare feature is a suitable tool for visualizing the differences between the current version of the file and the version that you have selected.


Diff view for comparing the versions


All the changes between the versions are highlighted:

  • a red background means that the content was deleted in the newer version,
  • green highlighting means that the content was added in the most recent version.

However, you can always see this legend in the bottom of the Diff viewer. In addition, you can see a 'map' of the changes across the file right in the scrollbar.

All the options of the Compare tool also can be reached on the Compare Files toolbar.

 

If the file doesn't support comparing the revisions, The Welkin Suite will notify you about it.


File does not support diffing

In this section:

This also may be useful:

Last modified: 2017/02/03 14:08

footer image