[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [TSVN] Locking overlay

From: SteveKing <stefankueng_at_gmail.com>
Date: 2005-04-11 14:50:52 CEST

On Apr 11, 2005 1:30 AM, Simon Large <slarge@slarge.plus.com> wrote:

> The terminology is a bit confusing. Does 'locked' mean that the file is
> read-only and you have to get an access key from the repository, or does
> it mean that you have acquired a lock on the file so that only you can
> change it?

That depends on how we would implement that. We could show a 'locked'
overlay if the file is read-only (i.e. locked by others) or we could
show the overlay if a lock-owner is assigned (locked by either
yourself or others).

> It would be useful to indicate that you are holding a key/lock, and you
> should release it if you are not using it. This use would take
> precedence over the in-subversion overlay, so after you commit changes,
> your locked files show up as needing to be released.

That's not possible. You can't check to whom a lock belongs until you
contact the repository. Even if you could check the lock-owner
(username), that wouldn't help: a user can have multiple working
copies (e.g. one in the office and one at home), so the locks would
still be different.

> It would also be useful to have an icon indicating that you do not have
> a key/lock, and you need to acquire one in order to access this file.
> This is almost identical to the above case, but with the opposite sense.

That would mean showing an overlay if a file is read-only. Easy to
implement, and fast...

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Apr 11 14:51:33 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.