On 9/29/2010 9:20 AM, Phil Pinkerton wrote:
How can we set a tag as read only at creation time ?
We have a tags subdirectory and we keep tags created from trunk there,
we want to set these tags to ready-only so they cannot be modified.
You probably want a pre-commit hook that blocks commits to existing
tags. You should be able to find examples with google but you may have
to adapt the location check to your conventions.
We
also copy our tags to a static tag for build reference ( we call this a
sliding tag ). The static tag always has the same name but is always a
copy of the actual tag to be built.
How do you deal with concurrency at that point? Or know that the same
thing is still there after the build completes?
Is it possible to set these tags to read-only once ther are copied from
the trunk to the tags directory ?
You can do whatever you want in a hook script.
--
Les Mikesell
lesmikes...@gmail.com