Author Topic: CVS Lockout  (Read 2413 times)

andy knapp

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
CVS Lockout
« on: April 09, 2008, 12:33:03 am »
Hi,

I've got a package in my model which EA will not allow me to checkout (the model is stored in a CVS repository); only the Check In Branch option is enabled under the Package Control checkin/out options.

When I select "Update Package Status..." it states that "Current package and contained elements are checked in and may not be edited".

When I look at CVS natively it doesn't believe anyone has a lock which leads me to beleive EA is maintaining a locking state somewhere.

I noticed in the EA t_packages table there is a PackageFlags column which seems to store locking type information.  In desperation, I hacked into this table and reset the entry for the troublesome package to the same value as a package I am able to checkout, however this did not solve the problem.

Any Ideas???

Many Thanks Andy


HowardB

  • EA Administrator
  • EA User
  • *****
  • Posts: 55
  • Karma: +0/-0
  • I love YaBBies!
    • View Profile
Re: CVS Lockout
« Reply #1 on: April 10, 2008, 09:26:50 am »
Hello Andy,

When you have a version controlled package in your model, but the Package Control menu items Check-in and Check-out are both disabled, this typically means that the package is "checked-out" to somebody else.

EA does not make use of CVS file locking - that feature is not always available.  EA uses the CVS edit, unedit and editors commands to implement its "checked-out" and "checked-in" states.

You can use EA's "Package Control | File Properties" command to determine who has the package "checked-out", then ask that user to check-in the package.

Alternatively, using CVS, you can issue the command "cvs editors <filename>" to find out who is "editing" the package file, then log in to CVS as that user and issue the command "cvs unedit <filename>" to remove that user from the editors list.  This should have the effect of "unlocking" the file in EA.

I hope this helps.

regards,
Howard.