You are here: Using Changelists > Rolling back changelist actions

Rolling back changelist actions

You can rollback changes to undo actions performed when changelists were committed. Actions can be rolled back individually or all at once. For example, if you checked in several files when committing a changelist and then needed to rollback all the files, you can rollback the changes to undo them instead of rolling back each file.

Before you rollback changes, you can review information about the actions performed, resolutions available when rolling back, and potential conflicts. The actions you can perform depend on the rollback status and your security permissions. See Rollback changelist action resolutions for information about why actions will or will not rollback.

1. Choose Tools > Changelists.

The Changelists dialog box opens.

2. Select a committed changelist and click Rollback Changes.

The Rollback Changes dialog box opens.

3. Select a file or repository and click a button review the information. Review the information closely if changes were made after the changelist was committed to determine how rolling back actions may affect files.

Button Use to: Additional information
View Details View details about the changelist and action performed. Viewing changelist details
Differences Compare file versions. Viewing file differences
History View the file history. Viewing file history
Properties View the file properties. Viewing general file information

Note: The filename or repository path may be empty if an action was performed as part of a changelist in Surround SCM 2009 or earlier. These actions must be rolled back manually. Select an action and click View Details to view the file or repository path and then rollback the individual file or perform an action to update the repository.

4. Enter any Comments, such as a reason for undoing the change.

5. Click a rollback resolution button.

Button Use to: Additional information
Rollback Changes Undo the changelist action.  
Differences Manually merge file versions. If the action you want to rollback changed file contents, you may need to manually merge the files to maintain changes made after the changelist was committed. Merging files
Rollback File Force a rollback to the previous file version. When rolling back files, any changes made after the changelist was committed are discarded. Rolling back files
Rollback All Roll back all the actions.  

6. Click Save As to save the rollback results or click Print to print the results.

7. Click Close when you finish.

 

Additional documentation  Knowledgebase  |  Blog  |  Technical support