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

Re: Pressing need for exclusive locking

From: Rafael Garcia-Suarez <raphel.garcia-suarez_at_hexaflux.com>
Date: 2003-09-03 10:19:37 CEST

Ronald Cannes wrote:
> What I would REALLY like is a lease based system where person A gets
> exclusive access to a resource for a spesific amount of time, such as 2
> hours or a day. For instance, to obtain exclusive access for 30 minutes, I'd
> like to do a "svn lock <url> -t 30m". Without the "-t" option, the
> exclusiveness would not expire until I commited. I would also like the
> ability to do a "svn unlock <url>" to force the lease to expire.
>
> After the lease period, person B can get to the resource. If person A still
> has the resource (he forgot to commit before the lease time expired), he
> gets an error. He didn't commit within the time he requested so now it's his
> problem - now he has to merge/resolve when person B has commited, but that's
> how I would like it to work.

Sounds like this could be implemented with the combination of a commit hook
and a bit of shell + crontab programming.

> I guess leasing should only work on files beeing tagged "leasable", using
> PROPSET, perhaps.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 3 10:28:37 2003

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

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