Tags are implemented as branches in Subversion. Thus my question: after creating a Subversion tag - how do I close this branch such that no one adds changesets to that tag-branch by accident?
For example consider following directory layout:
calc+-trunk |-branches |-tags
At some point trunk is ready for release and is tagged:
$ svn cp svn://example.net/calc/trunk svn://example.net/calc/tags/v1.0
Now following accident might happen:
$ svn co svn://example.net/calc/tags/v1.0
$ cd v1.0
$ # change files
$ svn ci
(perhaps the above URL was copy'n'pasted and instead a branch was meant)
How can I close the branch calc/tags/v1.0
such that the last svn ci
would fail?
I call it closing - alternatively you could call that operation switching a branch to read-only mode - or something like that.