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

Re: Automatically marking tags as read only

From: C.A.T.Magic <c.a.t.magic_at_gmx.at>
Date: 2004-05-05 13:44:55 CEST

Mladen Mihajlovic wrote:

> Hi Eric
>
> Implement a pre-commit hook that rejects commits to the tags directory.
>
> -LŘbbe

I think a svn-property to set a directory readonly would be nice for
this to have.
then one could use:
    svn cp ($REPOS)/trunk/Project ($REPOS)/tags/Tag-1.2.3
    svn ps svn:readonly ($REPOS)/tags/Tag-1.2.3

would a pre-commit hook be able to look on such folder-properties
for each parent directory and reject commits based on the value?

this also shouldn't be too hard to implement into the native svn, is it?

:-)
thanks,
c.a.t.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 5 13:45:15 2004

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.