Book a Demo

Author Topic: Version Control Questions  (Read 2777 times)

HansjoergMobi

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Version Control Questions
« on: March 03, 2010, 09:40:34 pm »
Hi

I'm setting up Version Control with SVN on a DBMS based model. We started modelling a few weeks ago without VC, so we were just using "Apply/Release Lock" from the context menu. Now, I added VC support and there is some strange behavior which is kind of irritating.

  • When adding new packages to version control, I first have to Lock the package (and child-packages). Then I use "Package Control-> add Branch to Version Controll..." to add the package and child-packages to VC. This works and the icon with the "key" is displayed, indicating that the packages are under VC and I do not have checked them out. However, all the packages are still locked by me (blue "!" next to the icon). Is this normal?
  • reading an old version (using the "Retrieve"-button in the "File History" dialog): if the package is checked out, then the Retrieve-Button is deactivated. if the package is neither checked out nor locked, the "Retrieve"-button is enabled. However, after pressing it an error message appears "... necessary security is not available." If I just have it locked (blue "!" next to "not checked out" icon), not checked out (- which I only can achieve when I do a checkout followed by checkin WITHOUT releasing the lock -), then it works. Is this normal?

Somehow, I have the feeling that I'm trying to use two teamwork concepts (VC and Lock/Release) at the same time, and that they somehow interfere with each other...

Does anybody know, if this behavior is correct or what I did wrong?

TIA
Hansjoerg

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Version Control Questions
« Reply #1 on: March 03, 2010, 09:49:31 pm »
Hansjoerg,

In one of the last 7.5 (I think 850) versions they've added the ability to lock/unlock elements regardless of the VC state. That helps.

And yes it is a bit weird when you use both locking and VC together. You have to make sure to keep those two statusses in synch.

Geert

PS. If you have the whole model in VC you could stop using the lock/unlock feature because elements will be readonly if they are not checked out by you.

HansjoergMobi

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Version Control Questions
« Reply #2 on: March 03, 2010, 10:00:57 pm »
Geert,

Thanks for your quick answer. We actually plan to have the whole model under VC, so how can I then turn using "Apply/Release Lock" off?

Cheers
Hansjoerg

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Version Control Questions
« Reply #3 on: March 03, 2010, 10:45:04 pm »
You can find those settings at Projects/Security

Geert

HansjoergMobi

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Version Control Questions
« Reply #4 on: March 03, 2010, 11:58:42 pm »
Geert,

Thanks a lot, this solved my problems.

Hansjoerg