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

Re: [TSVN] how should the UI look like

From: Molle Bestefich <molle.bestefich_at_gmail.com>
Date: 2005-04-09 21:05:31 CEST

SteveKing wrote:
> > When this basic functionality is in place, we should go even further
> > with our primary objective (enforcing the needs-lock attribute).
> > Since TSVN is 2000/XP only, and 90% of TSVN users are thus using NTFS,
> > we should accomplish this goal by modifying the ACLs on checked-out
> > files.
>
> Ok, waaay too far here. Modifying ACL's?

Actually, I think that both ACLs and the DOS read-only flag are wrong for this.

ACLs just happen to be there and support this kind of functionality,
and the DOS flag just happens to still be around, but is in no way
guaranteed to actually work.

Ergo, we should hook the filesystem API's entry points.

When a write to a non-locked, "needs-lock" file is attempted, present
the user with a dialog: "You need to lock this file before starting
work on it", and then return ACCESS DENIED to the application
afterwards.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Apr 9 21:06:15 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.