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

Lock a branch

From: Ron Olson <tachoknight_at_gmail.com>
Date: 2006-11-07 00:09:15 CET

Hi all-

I've been going through the Subversion book (printed the whole thing out)
but haven't found anything that really answers this question: Can I lock a
branch/tag so that no changes can be made to it? I am using this particular
repository for documents that become a printed catalog; once the docs are at
the printer, they should never, ever be changed again; I need to make sure
that I can always print out this branch and have exactly what was sent to
the publisher.

I can't rely on anybody reading my comments ("DO NOT CHANGE!"), I can lock
the documents but others can steal the locks, and I was thinking of writing
a hook script to prevent a commit to the branch taking place, but it seems
...silly to have to modify it for each new branch.

Is there any good, standard ways of doing this?

Thanks,

Ron
Received on Tue Nov 7 00:09:59 2006

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.