Subversion: write protection for marked directories

I use subversion as RCS. Whenever a new version of my project is completed, I create its tag (copy of the body). Does anyone know how I can protect this tagged directory from being accidentally changed?

Currently, as a workaround, I am blocking all files. But this windowsill means that a user with a lock can edit files.

Is there a better solution?

+5
source share
3 answers

You can use pre-commit bindings so that users cannot write to the directory tagsafter they have been created.

. SO :
SVN pre-commit hook

+5

, .

+2

svn:needs-lock , , . ( ) . - , .

Subversion svn:needs-lock , , , TortoiseSVN (Windows), , . - TortioseSVN, , . ; subversion, script , . TortoiseSVN , - Tags, , .

svn:needs-lock ; . "" , " ", svn:needs-lock - , " " .

0

All Articles