Book a Demo

Author Topic: Remove a model from Version Control  (Read 4323 times)

Stefan Bolleininger

  • EA User
  • **
  • Posts: 308
  • Karma: +0/-0
    • View Profile
Remove a model from Version Control
« on: December 08, 2011, 12:35:46 am »
Hi,

within my work with ea i made a little mistake and have a small problem now.

I checked a complete model into version control, but this model should not be controlled.

Is there a possibility to uncheck this model within just a few clicks? I could take out every package, but this could take hours.

It there any suggestion?

Thank you!
Enterprise Architect in "safetycritical development" like medical device industry. My free Add-in at my Website

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Remove a model from Version Control
« Reply #1 on: December 08, 2011, 04:37:02 am »
Two ways: a) squeeze the database. b) export and edit xmi and then re-import. a) is fast if you know the db structure. b) takes longer but can be done with a good editor (notepad++) with not too much effort.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Remove a model from Version Control
« Reply #2 on: December 08, 2011, 06:26:36 pm »
Code: [Select]
select * from t_package p
where p.PackageFlags like '%VCCFG=%'
will get you all packages under version control.

Geert

abruckner

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Remove a model from Version Control
« Reply #3 on: December 14, 2011, 08:12:42 pm »
other way was to use the free tool "EnarSpy" from here:
https://blog.lieberlieber.com/2011/09/22/enar-spy-update/

installs as a EA-plugin, you open your model, then choose from extensions-menĂ¼: "EnarSpy\Traces\Remove version control".

This does all the removing in one click.