1

I'm using the RTC 3.0.1 CLI (lscm) and I have a file checked into a changeset that I would like to delete. There doesn't appear to be a straightforward way to do this, any idea?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
MattK
  • 1,431
  • 13
  • 14

2 Answers2

5

I hate answering my own question, but I figured it out. Perhaps this will help others.

RTC really makes you think about source control in a different way than SVN, or even git. In order to delete a file from an RTC changeset, you just remove the file locally and checkin the directory.

$ rm myfile
$ cd .. 
$ lscm checkin mydir

Undoing changes with the 'undo' command

$ lscm undo myfile

Here is a rosetta stone of sorts for the RTC CLI that clued me in: Git v Subversion v RTC

MattK
  • 1,431
  • 13
  • 14
0

From what I can see in the help page, there is also one workaround:
relocate a file from one change set to another.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250