Book a Demo

Author Topic: EA/ Subversion - cannot check in from EA  (Read 3254 times)

NeilS

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
EA/ Subversion - cannot check in from EA
« on: May 16, 2009, 12:25:22 am »
Hi

I have a file which I can check in and out using subversion.

EA is confused

When I r-click to see file properties it says that I have it checked out.

However the package control menu has check in disabled.  Check in branch is available but when I check in I am told that I have no packages checked out to me.

I've queried the t_package table which also says I hold the lock.  I've compared this against a pukka package that I have locked.  The only difference I can see is that the TPos column does not have a value on the dodgy package but does on the pukka one.

Any ideas?

Neil

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: EA/ Subversion - cannot check in from EA
« Reply #1 on: May 20, 2009, 03:25:45 pm »
I don't think the tpos value has any meaning in this case, it is just its order in the tree.
First I would export the file to XMI (just to be sure not to loose the data). Also you need to be sure not only that you hold the lock in SVN, but that you hold it in current machine.
If all fails check out the parent package, remove the problematic package from VC through DB (iscontrolled  = 0 in t_package) and then reenter it to VC.

In general I see there are some problems working with SVN, I wonder how thoroughlythis is tested by Sparx...
Recursion definition:
If you don’t understand the definition read "Recursion definition".

NeilS

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Re: EA/ Subversion - cannot check in from EA
« Reply #2 on: May 20, 2009, 06:14:09 pm »
Hi martin

I experimented further and checked out one of the sub-packages.  I was then able to check the parent package using check in branch.  That one is definite bug as I did not get that behaviour in svn.

I'd agree with your last comment.  My experience is that with a fair bit of manual intervention you can make svn work but it is a rough old ride.

Neil