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

Re: Exclusive Checkout/Edit for Binaries

From: Toby Johnson <toby_at_etjohnson.us>
Date: 2004-08-16 20:19:09 CEST

pkahn@connected.com wrote:

> If you have any other cleaver idea or if you know of any places I
> could go look for solutions, I'd love to read about them...
>
Exclusive locking is the "next big feature" that the devs are planning
on working on for 1.2.

In the meantime, if this is a necessity for you I would implement this
using a pre-commit hook script. Two approaches I would look into are:

* have a text file where each line is a file URL followed by a tab and a
username. The pre-commit hook looks at this file for attempts to commit
a certain URL, and if the URL exists in the file then only the specified
username is allowed to commit.

* create your own versioned property, the value of which is a username.
The script looks at the property instead of the text file.

These are basically short-term hacks until a "real" system based on
tokens is implemented.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 16 20:19:51 2004

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