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

Re: [TSVN] What overlays do we NEED

From: Simon Large <slarge_at_slarge.plus.com>
Date: 2005-04-14 17:20:06 CEST

Bill.Hughes@cgi-europe.com wrote:
> In case 1 'in subversion' would mean you _didn't have a lock - in
> that case I'd replace 'in svn' overlay with 'no entry', you can't
> edit it until you obtain a lock.

But that only works where _all_ files need locking, which is not the
general case.

> In case two you'd show 'no entry'
> for files where you know another wc has the lock.

But you never know if another WC has a lock, except by contacting the
repo, and that's no good for overlays. And the way locking works is that
any file with svn:needs-lock is read-only until you lock it. The fact
that no other WC has a lock doesn't mean you can edit. You _must_ get a
lock yourself to be able to edit.

Maybe you can get a lock without svn:needs-lock, but then no-one else
knows that locking is in place, so it gives you no protection.

> BTW I suggest a green key, not a padlock, you have
> the magic token to open the file.

Yes, you're right. I said padlocks were a bad symbol only a little while
ago.

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 Thu Apr 14 17:21:23 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.