################################################################# # # RM_EMPTY_BRANCH.tgr # # When uncheckouts or rmbranches are performed remove the parent branch # if the parent branch has no checkouts, sub-branches or labeld versions # associated with it IFF (IF AND ONLY IF) the uncheckout file is the 0th # element or removing the branch causes the parent branch to also be # "empty". # # Author: Charles W. Clarke III charles@tbi.com # Date: Sep. 17, 1996 #################################################################### This trigger script is expected to be called from a post-uncheckout or post-rmbranch trigger. cleartool mktrtype -ele -glo -post uncheckout,rmbranch -nc \ -exec RM_EMPTY_BRANCH.tgr REMOVE_EMPTY_BRANCH