Canceling a checkout on Linux and UNIX

From a command or terminal window, enter this command:

cleartool uncheckout -keep filename

For example, you need to fix a typo in a text string that appears in a dialog box. A Quality Assurance engineer reported the problem in a defect report, number DEF0012345. The typo is in the file foo.c.

To cancel the checkout of file foo.c from a command or terminal window, you would enter one of the following commands:

cleartool uncheckout -keep foo.c if you wanted to keep a private copy of the file.

cleartool uncheckout -rm foo.c if you did not want to keep a private copy of the file.

Try it!

To cancel the checkout of the author.txt file, type this command:

cleartool uncheckout -keep author.txt