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

RE: Re: Feature / Bug - File lock icon, checking for modifications

From: Edward Harvey <eharvey_at_chilsemi.com>
Date: 2006-04-26 03:28:14 CEST

Here's a question for you --

Wouldn't it be ideal to prevent anyone from working on a file, if that
file is already locked by someone else?

The locking-functional-spec.txt says so, and I agree. (.txt file in
subversion source code.)

I understand now, that subversion itself doesn't currently have the
ability to cache the results of a repository lock status query, and the
correct place to start making this change is with the subversion group
rather than the tortoisesvn group. The proper place to cache this info
is in .svn/entries file.

So that's the idea. I hope it's agreeable to everyone --

First, work with subversion group to cache the result of the most recent
repository lock status, store in the .svn/entries file.

Second, to enable tortoisesvn to use this information. The wish-list
might include any combination of the following: (a) selecting an icon
based on remote lock status, (b) setting the read-only bit, (c) enabling
the "Lock Owner" and other appropriate fields in explorer.

Third, optionally, to silently query for repository status, at a pre-set
interval. This is probably best as a (not enabled by default) system
tray icon that uses command-line svn underneath, or if implemented, a
silent-mode tortoisesvn command-line. This system-tray automater really
isn't part of tortoisesvn, but many people could probably use it
alongside tortoise.

As always, local icons are only as accurate as the most recent status
check. There is no degradation of performance or reliability of
explorer.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Apr 26 03:28:29 2006

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

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