Review Package History

The File History command allows you to review the change history of version controlled packages.

It also enables you to check out a prior revision of the package for editing, effectively allowing you to roll-back to a prior revision of the package.

Use to:

  • Review the change history of version controlled packages
  • Revert to a previous revision of a version controlled package

How to:

Step

Action

See also

1

In the Project Browser, select the package for which to view change history.

 

2

Right-click on the package and choose Package Control | File History.

For version control environments using Subversion, CVS or TFS command line clients, Enterprise Architect's File Version History dialog displays.

For version control environments using SCC based clients, your particular product opens its own File Version History dialog

Review Package History - SCC Client.

3

Click on a revision number In the Revisions field, to select that revision and view its log entry.

 

4

Optionally, click on either;

  • Check Out
  • Retrieve

If you click on Check Out, the selected revision of the package file is retrieved from version control and imported into your model as a package that is checked out for editing.  You can subsequently check in this revision as a new HEAD revision - effectively allowing you to revert a package to a prior revision.

If you click on Retrieve, the selected revision of the package file is retrieved from version control and imported into your model, but the package remains flagged as checked-in, so it cannot be modified.  Subsequently checking out the package  updates the package to the latest revision before it is unlocked for editing.

 

Notes:

  • If the selected package was already checked out in the current model, the Retrieve and Check Out buttons are disabled
  • If you check out a prior revision of a package, but do not want to commit it as a new revision, right-click on the package and select Package Control | Undo Check Out