1

Background

I have a clearcase file that has changes on 3 different branches. I am refactoring this file so that, within the same directory, it only exists on one branch. The files on the other branches I will move to their own special directories.

Question

How do I remove the versions of a file on different branches?

isakbob
  • 1,439
  • 2
  • 17
  • 39

1 Answers1

1

A simple cleartool rmname, done in a view set to the relevant branch, should be enough.
See a detailed description of that command in "About cleartool rmname and checkouts"

This is far safer than a cleartool rmelem, which would completely deletes one or more elements.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • `cleartool rmelem` is essentially forbidden to use at my company, even for one file unless you have a signoff from every lead architect to do so. – isakbob Oct 31 '19 at 19:37
  • @isakbob That seems sensible. I only used it to clean-up my VOB `lost+found` folder: https://stackoverflow.com/a/31342351/6309 – VonC Oct 31 '19 at 20:01