Undoing a checkout

If you use ClearCase® for source control of your test assets, and if you check out an element and decide that you do not want to change it after all, you can cancel the checkout.

Before you begin

About this task

An element is an object in a VOB, a database that stores your project's files. An element can be a Functional Test script, a Functional Test project, an object map or a Java™ file. All elements are stored with version history and comments.

ClearCase does not create a new version. It optionally discards any changes you made to the element, and does not add any checkout events to its history. In sum, ClearCase erases the whole transaction.

Tip: To find checked out elements, from the Solution Explorer select the project, right-click, and click Show Pending Checkins.

To undo a checkout:

Procedure

  1. From the Solution Explorer, right-click one or more checked-out elements.
  2. From the shortcut menu, click Undo Checkout.
  3. Clear the check box of any element that you do not want to check out.
  4. Click Undo Checkout.

What to do next

Feedback