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

Re: non-HEAD revisions

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-10-17 18:51:01 CEST

On Oct 17, 2005, at 18:39, Ron wrote:

> Is there a way to prevent (via a hook or some other mechanism) a
> user from pulling down older revisions of a file. I am using svn
> to distribute binary tools to a large number of users, but I don't
> want (some of) them to be able to pull down older versions, only
> the HEAD.
> I'm using the svn:// protocol.
> Is this possible?
> I don't see a hook script for trying to pull down a revision, but
> this would be a nice one to have, although it might slow things down).

There isn't a pre-checkout script, that's true.

What you could do is keep a working copy of the relevant part of the
repository on the server, and automatically update it every time
someone commits, via a post-commit hook. Then, for the people who
should only be able to get things from head, have them use this
working copy. Of course, they could then only look, not do any
Subversion operations, like modify and check back in....

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 17 18:53:47 2005

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

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