Deleting a Powerbuilder object from ClearCase source control without losing version history?

150 Views Asked by At

Is there a way to delete a Powerbuilder object from a ClearCase controlled PB target in the Powerbuilder interface without removing the object from source control altogether, i.e. keep version history intact? The only option I see is "Remove from Source Control" which claims it deletes all revision history for that object. Using PB 10.5.2, CC 7.1.1.

2

There are 2 best solutions below

1
On BEST ANSWER

If it claims to "deletes all revision history for that object" (even though this isn't documented in "To remove objects from ClearCase using PowerBuilder"), that would make that operation:

You could then fall back to the command line and try a cleartool rmname of the file, before refreshing the PB targert in the PB GUI.

0
On

You can do this by working outside PB. Remove the line for the object from the PBG file and commit the changes in ClearCase. Then move the object wherever you want it using ClearCase tools. When you refresh in PB the object will show as not source controlled and you can just delete it.