Reverting Changes

Applies to TestComplete 15.69, last modified on November 13, 2024

If your project suite is bound to the Subversion repository, you can revert changes you make to the project suite or update it to a needed state (revision) directly from TestComplete:

Reverting Local Changes in Working Copy
  1. Select File > Source Control > Revert Changes from the TestComplete main menu.

    – or –

    Right-click your project suite in the Project Explorer and then click Source Control > Revert Changes.

    – or –

    Click Revert Changes on the Source Control toolbar (if the toolbar is hidden, right-click the toolbar area and then click Source Control).

  2. If you do not use TortoiseSVN to work with Subversion from TestComplete, TestComplete will automatically revert all changes you made to the working copy and show a message informing about the reverting results.

    If you use the TortoiseSVN client to work with Subversion from TestComplete, TestComplete will open the Revert dialog:

    Reverting Local Changes via TortoiseSVN Revert Dialog

    The dialog lists all uncommitted changes you made to the project suite.

    In the dialog, select a file or multiple files, changes in which you want to revert, and click OK.

    For detailed information on how to work with the dialog, see TortoiseSVN documentation.

In addition, if you use the TortoiseSVN client:

  1. Select File > Source Control > Show Changes from the TestComplete main menu.

    – or –

    Right-click your project suite in the Project Explorer and then click Source Control > Show Changes.

    – or –

    Click Show Changes on the Source Control toolbar (if the toolbar is hidden, right-click the toolbar area and then click Source Control).

  2. TestComplete will open the TortoiseSVN client’s Check for Modifications dialog that shows all changes made to your project suite.

  3. Right-click the needed changed file and then click Revert.

    Reverting Local Changes via TortoiseSVN Check for Modifications Dialog

    Click the image to enlarge it.

Rolling Back to an Earlier Revision
  1. Select File > Source Control > Show Log from the TestComplete main menu.

    – or –

    Right-click your project suite in the Project Explorer and then click Source Control > Show Log.

    – or –

    Click Show Log on the Source Control toolbar (if the toolbar is hidden, right-click the toolbar area and then click Source Control).

  2. TestComplete will show a dialog that lists all revisions committed to your repository.

    Reverting changes via the TestComplete Log Subversion Project Dialog

    Reverting Changes in the Log Subversion Project Dialog

    Click the image to enlarge it.

    Reverting changes via TortoiseSVN Revision Log Messages Dialog

    Reverting Changes in the TortoiseSVN Log Messages Dialog

    Click the image to enlarge it.

  3. In the dialog, right-click the needed revision and then click Revert to this revision (or Revert to Revision, if you do not use TortoiseSVN).

TestComplete will undo all changes made to your working copy after the selected revision.

Related Tasks

See Also

Integration With Subversion - Common Tasks
Integration With Subversion
Viewing Uncommitted Changes

Highlight search results