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

Re: Enhancement: Deprecating Paths

From: Dominic Anello <danello_at_danky.com>
Date: 2004-06-23 00:45:44 CEST

On 2004-06-21 12:18:17 +0200, kraythe@arcor.de wrote:
> It would be great if an admin could mark a path as deprecated. This
> would allow people to check out and browse the path but not commit to
> that path. In projects where old code is migrated or deprecated, this
> would be great.

If you are using mod_authz_svn you can put a section that looks like the
following in your access file:

[/deprecated/path]
* = r

That will mark the path read-only. Otherwise, you can use a pre-commit
hook to accomplish the same thing (reject the transaction if it
includes anything in the deprecated path).

-Dominic

  • application/pgp-signature attachment: stored
Received on Wed Jun 23 00:38:23 2004

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.