Book a Demo

Author Topic: Recursive "undo check out"  (Read 4513 times)

Pawel Zubkiewicz

  • EA User
  • **
  • Posts: 78
  • Karma: +2/-1
    • View Profile
    • zubkiewicz.com
Recursive "undo check out"
« on: March 25, 2015, 02:28:18 am »
Hi,

Any idea how I can revert local changes in my project with version stored in (SVN) repository on a branch?

There is "Undo Check out..." option in Package Control context menu. Unfortunately it only works on one level, it does not work on subpackages.

I tried to write a script to automate this, but i dont see method for this in EA.Package class there are however all other methods  for version control >:(

Any Idea what I can do?
Enhanced Requirement Attributes Addin for Enterprise Architect (ERA Addin) - http://zubkiewicz.com/?p=239

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Recursive "undo check out"
« Reply #1 on: March 25, 2015, 05:39:26 am »
Create a new model from last last SVN version

q.

Pawel Zubkiewicz

  • EA User
  • **
  • Posts: 78
  • Karma: +2/-1
    • View Profile
    • zubkiewicz.com
Re: Recursive "undo check out"
« Reply #2 on: March 25, 2015, 07:10:50 pm »
Quote
Create a new model from last last SVN version

So no easy way.

Maybe we could ask Sparx to add that feature, at least to scripting API?
Enhanced Requirement Attributes Addin for Enterprise Architect (ERA Addin) - http://zubkiewicz.com/?p=239