You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by kr...@arcor.de on 2004/06/21 10:18:17 UTC

Enhancement: Deprecating Paths

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. 

-- Robert






---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Enhancement: Deprecating Paths

Posted by David Waite <ma...@akuma.org>.
You can also just create your own local structure policy, such as 'move 
deprecated code to /deprecated/', although moving the deprecated code 
might not be what you want to do.

-David Waite

On Jun 22, 2004, at 4:45 PM, Dominic Anello wrote:

> 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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Enhancement: Deprecating Paths

Posted by Dominic Anello <da...@danky.com>.
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