Book a Demo

Author Topic: Import Package at specific SVN revision  (Read 4671 times)

zapurvis

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Import Package at specific SVN revision
« on: June 30, 2016, 04:06:02 am »
Within EA we can Package Control -> File History and then select an older version of the file and hit Retrieve.

How can I do this via jscript?

Lets assume the following: I have the SVN revision I want to look at(not modify).  What is the jscript command to load that revision so I can view the diagram contents?
Option 1:
I can from jscript -> activex revert the file to the Revision I want BUT I do not know how to tell EA to refresh it without getting the latest version.

Option 2:
??
Thanks,
Zak

Dieter Goetz

  • EA User
  • **
  • Posts: 43
  • Karma: +0/-1
    • View Profile
Re: Import Package at specific SVN revision
« Reply #1 on: July 01, 2016, 07:08:54 pm »
Hi Zak,

there is a very simple way to have a look on an older version:

1. Save the older XMI file on your drive
2. Import Package from XMI file
3. Select "Strip GUIDs"

Then you have the HEAD version and the older version in your model.

Dieter