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?
You can use pre-commit bindings so that users cannot write to the directory tagsafter they have been created.
tags
. SO :SVN pre-commit hook
, .
svn:needs-lock , , . ( ) . - , .
svn:needs-lock
Subversion svn:needs-lock , , , TortoiseSVN (Windows), , . - TortioseSVN, , . ; subversion, script , . TortoiseSVN , - Tags, , .
Tags
svn:needs-lock ; . "" , " ", svn:needs-lock - , " " .