Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Tehila1 on July 20, 2015, 08:40:31 pm

Title: Revert Version of Package
Post by: Tehila1 on July 20, 2015, 08:40:31 pm
I would like to revert version of a package.
Right click on package | Package Control | File History is how I get the previous versions.

Then I have 2 options: Retrieve or Checkout.
As far as I understand from EA help, the checkout option checks the package for editing in addition to importing.

My question is: what is the difference in consequence revision?

EA Help:

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.  [highlight]You can subsequently check in this revision as a new HEAD revision - effectively allowing you to revert a package to a prior revision.[/highlight]

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.  [highlight]Subsequently checking out the package  updates the package to the latest revision before it is unlocked for editing.[/highlight]
Title: Re: Revert Version of Package
Post by: Eve on July 21, 2015, 08:32:48 am
In order to revert to an old revision, you would need to check out and then check back in.


Without the exclusive lock and being marked as checked out, EA won't try to save it back to vc.