If you decide not to keep your changes, you can cancel a checkout.
If you decide that you checked out a file in error, or you do
not want to keep the changes you made to a file, you can cancel the checkout
instead of checking in the file. In this topic, you will return the notes.txt file
to a read-only state by canceling the checkout.
To cancel a checkout:
- Connect to the ClearCase server, if you are not connected already.
Expand the
My Views node in
the ClearCase Navigator, right-click on the view called
yourname_tut_view and
click
Connect. In the
Login to ClearCase dialog
box, fill in the connection details, and click
OK.
Note: You
can also select the view and click the

(
Connect
to ClearCase Server) button in the toolbar or you can select from the
ClearCase menu.
In addition, if you are not connected to a ClearCase server and you perform
an action that requires such a connection, the
Login
to ClearCase dialog box appears automatically.
- In the ClearCase Details view, select the notes.txt file
and click the
(Undo the checkout for the
selected artifact(s)) button on the toolbar. Note: You
can also right-click the file and select Undo Checkout or
you can select from the ClearCase menu.
- In the Undo Checkout dialog box, clear the Keep
a copy of modified artifacts check box and click OK.
In the ClearCase Details view, note that the file no longer appears
with a checked-out indicator.