Actions:
|
2011-06-01 07:12 AEST by Arthur Barrett - At some companies branch tags, and non-branch tags should follow certain rules.
It is very frustrating when someone accidentally creates a branch using the wrong name to them be
'stuck' with the branch - it would be better if the branch or tag was not created in the first place.
Tagrules could be a new file in CVSROOT for setting the branch tag, and non-branch tag rules, eg:
P_PROD b
P_STG b
P_DEV b
T_.* t
T_.* t
The 'tagrules' should only be read for a 'tag' or 'rtag' operation, under no other circumstances should
this file be read, and the rules should be checked once 'early' in the process. |