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

[TSVN] Locking overlay

From: Simon Large <slarge_at_slarge.plus.com>
Date: 2005-04-11 01:30:48 CEST

Stefan wrote:
> Task #48: new overlay for locked items
> -----
> Come to think of it: I'm not really sure if we should add another
> overlay for locked files.
>
> - 'locked' is not a Subversion status
> - therefore, a 'modified' can still happen, even if someone else has
> a lock on the file!
> - so we could show 'locked' only if the file hasn't been modified yet
> and it's status is 'normal' (i.e. versioned, but not otherwise with
> an interesting status).
> - a new column can show the lock owner, not just 'locked'
> - locked files are read-only anyway, so good behaving editors will
tell
> the user that a file is locked right away.

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?

> And last but not least: we already have problems with too many overlay
> handlers. Another one would just worsen that problem.

That is certainly true :-(

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.

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.

But that is 2 extra overlays which we can't afford.

Simon

-- 
       ___
  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 01:30:01 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.