1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
5 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6 <meta name="GENERATOR" content="Mozilla/4.61 [en] (Win98; U) [Netscape]">
7 <title>ClearSCM: Clearcase: Triggers: Remove Empty Branch</title>
8 <link rel="stylesheet" type="text/css" media="screen" href="/css/Article.css">
9 <link rel="stylesheet" type="text/css" media="screen" href="/css/Code.css">
10 <link rel="stylesheet" type="text/css" media="print" href="/css/Print.css">
11 <link rel="SHORTCUT ICON" href="http://clearscm.com/favicon.ico" type="image/png">
14 <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
16 <script type="text/javascript">
17 _uacct = "UA-89317-1";
23 include "clearscm.php";
34 <?php start_box ("cs5");?>
35 <h2>Remove Empty Branch Trigger</h2>
37 <p>This trigger removes the branch and the zero element that is
38 left when a user checks out an element on a branch then cancels
39 the checkout. Normally this causes a branch with only a zero
40 element which is identical to the version from which it was
41 branched. Essentially this empty branch is useless. This trigger
45 <?php display_code ("cc/triggers/RemoveEmptyBranch.pl");?>
50 <script language="JavaScript" src="/JavaScript/Menus.js" type="text/javascript"></script>