Enterprise Architect and Subversion - The ability to import is currently locked

StackOverflow https://stackoverflow.com/questions/21783249

  •  11-10-2022
  •  | 
  •  

Вопрос

After a crash we are trying to get EA and subversion to play nicely with each other.

When I try to check out a package from EA, I get the following Message:

The ability to import is currently locked by user: WSxxxx

Where WSxxxx is the name of my work station

I tried:

svn cleanup : Returns no information
svn status  : Returns no information
From EA Resync Statuses With all all packages
From EA Get Latest : Reports locked then hangs

Any idea what else I could try?

Это было полезно?

Решение 2

Since svn status doesn't return information, you don't have any edited files in your working copy.

Steal the lock on the file that contains the package (if you're not sure about the file name and location, you can look it up here: right-click on the package in EA, Package Control, Configure...):

Then unlock the file again, and check out the package in Enterprise Architect.

Другие советы

You can try with this (if you have e edited files):

  1. Copy edited items to another location.
  2. Delete the folder containing the problem path.
  3. Update the containing folder through Subversion.
  4. Copy your files back.

Or:

delete the top level folder and check out again. Hopefully it doesn't come to that though.

Can you look in your .svn folder? There will be a file in it called lock.

find . -name 'lock' -exec rm -v {} \;

Cheers

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top