Author Topic: Revert Version of Package  (Read 3580 times)

Tehila1

  • EA User
  • **
  • Posts: 256
  • Karma: +0/-0
    • View Profile
Revert Version of Package
« 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]

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8083
  • Karma: +118/-20
    • View Profile
Re: Revert Version of Package
« Reply #1 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.

  • EA retrieves the old version from version control.
  • EA imports the xmi into the model.
  • Checkout only - EA puts an exclusive lock on the file in version control (and records it in the model)

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