How to find locked files in Subclipse

We recently migrated from CVS to Subversion 1.6. We used native support for CVS Eclipse as our CVS client. Now we use the Subsclipse plugin as our SVN client.

I found that we were having problems viewing locked files in Subclise if the file was not configured using "svn: needs-lock".

If the file has "svn: needs-lock", then the "Navigator" panel clearly shows whether you have a lock or not lock in the file icon. If the file does not have "svn: needs-lock", the same icon for locked and unlocked files is displayed in the "Navigator" panel.

Does anyone know a way to change this (either in Subclipse, or using a new plugin?)

+3
source share
2 answers

Locally blocked

This works for me. I just tested it with Subversion 1.6.2 (server), Subclipse 1.6.5 client and eclipse 3.5.1.

I used right-click → Team → Lock ... and after creating the lock, the overlay icon in the file changed from a yellow cylinder to a dark square with a white checkmark inside. I restarted eclipse and confirmed that the file is still marked as locked.

The svn: need-lock property was not set in this file , and the file was not only read until the lock request.

Remote lock

, , , , , Subclipse , . .

  • " SVN" . ( → ).
  • .
  • .

, .

+1

2306, svn lock theFile , svn:needs-lock .

WC svn:needs-lock, WC , . WC, .

Subclipse, TortoiseSVN, . Subclipse " " Eclipse Lock UI - . svn " ", . , .

0

Source: https://habr.com/ru/post/1732281/


All Articles