IBM Support

How to automatically remove version 0 which remains after an uncheckout

Question & Answer


Question

How do I automatically remove the 0 version which remains after an uncheckout command is executed while creating a new IBM® Rational® ClearCase® branch for an element?

Cause


An uncheckout operation was performed on an element leaving the new branch instance and only a 0 version on the branch.

Answer


IBM Rational does not provide any customized or user requested scripts; however, there is a trigger and script combination available on the developerWorks website in IBM Rational ClearCase: The ten best triggers under the section Remove Empty Branch.

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Utilities and Tools","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.0;7.0.0.1;7.0.0.2;7.0.1;7.0.1.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21134539