Is there a way to make a repository branch read only?
I have read threads about directory locking - which if/when implemented
could be used to do this - but seems heavy weight.
This is not a request for lock-modify-unlock.
We have been very successful with the copy-modify-merge model as part of our
development process. And normally, we do not require locking, not even for
binary files as we have developed a workaround that prompts for mine, yours,
or the common version. However, there are times when making a branch
read-only would be a benefit our team. Our current process notifies
developers by sending out an email indicating the end of development on a
branch. Each developer is expected to discontinue making changes on that
branch. However, like with every manual process there can be information
leakage and leads code in the wrong place. Having the repository refuse
changes to a branch would (re)enforce existing process communication.
We are continually refining our merge process and welcome your suggestions.
Received on Mon Sep 12 01:50:39 2005