Hi Bonnie,
You asked:
I set up a trigger on mkbrtype that only allows new branch types that have a specific format. However, now I am running into the problem where anyone can simply go back in and re-name that branch type afterwards to something that doesn't follow the formatting rule. So, How can I prevent the renaming of a branchtype unless it also fits the format?
The answer is:
you make a pre-op trigger on "modtype" then take advantage of env varabiles: CLEARCASE_BRTYPE and CLEARCASE_NEW_TYPE
Plenty of exemples for ClearCase Triggers here:
http://abs-consulting.com/_faq/clearcase_triggers.php (no cost, no signup required)
Hope this helps.
-Charles
A Better Solution, Inc.
IBM Rational Premier Business Partner
providing IBM Certified Specialists
----------------------------------------------------
Charles Clarke III
Sr. ClearCase Architect
A Better Solution, Inc.
Email: charles@abs-consulting.com
http://www.abs-consulting.com