Book a Demo

Author Topic: How do I find out who have currently got locks  (Read 2974 times)

siman

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
How do I find out who have currently got locks
« on: December 30, 2008, 10:37:59 am »
Hi - I'm using subversion (mostly through ea) - does anybody know how I can get a list of who currently has locks on the models? At any time 10 people could be editing and I want to be able to see which models each person has locks on /and or which models are locked by who.

I know I can go to each one and click through to find out who has  a lock ... but its a painful process on a big project and its not very user friendly.

Can I run a report?

s

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: How do I find out who have currently got locks
« Reply #1 on: December 31, 2008, 08:22:14 am »
I'm sure you could do a SVN query to find out what locks are current.

Other than that, you may be able to do a custom SQL query (look at t_package.PackageFlags and http://www.sparxsystems.com/uml_tool_guide/uml_modeling_tool_features/creating_filters.html)

mrf

  • EA User
  • **
  • Posts: 311
  • Karma: +0/-0
    • View Profile
Re: How do I find out who have currently got locks
« Reply #2 on: January 05, 2009, 09:49:30 am »
On the command line svn info will display who holds the file lock in the Lock Owner field.

I'm not too sure how you could do this over multiple files though, so Simon's suggestion of checking the database maybe the best option for you.
« Last Edit: January 05, 2009, 09:50:09 am by mfraser »
Best Regards,

Michael

[email protected]
"It is more complicated than you think." - RFC 1925, Section 2.8