Book a Demo

Author Topic: Version control problem, package is locked  (Read 5227 times)

dennisk

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Version control problem, package is locked
« on: February 15, 2007, 01:26:41 am »
Hello,

I hope someone can help me with this problem, I'm investigating using EA for our project but can't get version control to work properly. I use a shared model with CVS and have put some packages under version control. So far so good.

However I have one package that looks like it is now checked in and I cannot edit it. But if I look in packagae controle every option for version controle is greyed out except for 'check in branch'. If I try that I get the warning 'There are no packages checked out to you in the selected branch'. But I cannot edit or check it in or out, so I'm stuck...

Am I doing something wrong? or is this a bug? is there any solution/workaround for this?
(I use build 803 and for now I am the only user of the model).


peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Re: Version control problem, package is locked
« Reply #1 on: February 15, 2007, 02:32:18 am »
Maybe your package is under another version controlled package and this is checked in.
If this is your case, check out the parent package.

Also consider that locking diagram has similar effect - you can't edit diagram.
If this is your case, unlock diagram using context menu in that diagram.
Peter

dennisk

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Version control problem, package is locked
« Reply #2 on: February 15, 2007, 04:19:43 am »
Hello Peter,

I'm currently not using nested version controlled packages. All my controlled packages are at view level (1 level lower then my views that are on root model level).

The underlying diagram is locked. But I cannot remove the lock for some reason (possibly because EA thinks I have not checked it out, but I can not check it out either...so again i'm stuck).

charge

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Version control problem, package is locked
« Reply #3 on: February 16, 2007, 12:41:02 am »
You can remove all locks via de Project --> security --> Manage locks menu!
« Last Edit: February 16, 2007, 12:41:20 am by charge »

peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Re: Version control problem, package is locked
« Reply #4 on: February 16, 2007, 03:45:28 am »
I think first you have to know if your package is or is not version controlled. Packages under version control has a small sign "8" just left from the package icon and in the context menu Package Control there are options Check In or Check Out (if the package is not check outed by other user).

So - is your package under version control or not?
 
Peter

dennisk

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Version control problem, package is locked
« Reply #5 on: February 23, 2007, 12:42:15 am »
Yes, the package is under version control: The figure 8 sign is on the left side of the package icon.

I have the option to check-in when I right click and select package-control.

But when I try to check in, the program refuses saying: "There are no packages checked out to you in the selected branche" .

I cannot check out (option is not available - greyed out).

I cannot remove locks from security menu as mentioned above.

I just created a new project (again) and created some new diagrams with cross references to different packages. Brought it under version control and again I get stuck...I must be doing something wrong, but there's no feedback on why or who is locking the damn package.

I am the only user at this moment (so my hopes for using this software in a team with +/-10 users version controlled is getting slimmer by the moment).




peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Re: Version control problem, package is locked
« Reply #6 on: February 23, 2007, 03:20:03 pm »
Sorry, I'm not able to help you. Maybe somebody else have seen  behaviour as you described.

Try to mail at Sparx support directly.

(BTW what kind of CVS are you using.)
Peter