Using the local history

In this section, you will use the local history feature to switch to a previously saved version of a Tcl file.

  1. Create a new empty file in a project.
  2. Insert a peace of code to that file using the Tcl editor and commit several changes.
  3. Then right click in the editor and select Replace with > Local history menu item. Compare dialog will be opened.

  4. Select a version (by date and time) of the file you'd like to replace the current content and click Replace

The file has just been restored to the state you selected.

Related concepts

Tcl editor