Undo Checkout Dialog Box (Plug-in)

Cancels a checkout operation on a source-controlled item, undoing all changes.

Dialog Box Access

In Visual Studio, on the File menu, click Source Control, and then click Undo Checkout.

  • Columns
    Identifies the columns to display and the order in which they are displayed.
  • Flat View
    Displays the items for which you undoing the checkout as flat lists under their source control connection.
  • Name
    Displays the names of the items that have been checked out. Items appear with the check boxes next to them selected. If you do not want to undo the checkout for a particular item, clear its check box.
  • Options
    Displays undo checkout options when the arrow to the right of the button is clicked. The only available option is Advanced, which allows you to select from the following possible options to specify what happens to the local copy of an item when you undo a checkout:

    Option Description

    Default

    Specifies the Visual SourceSafe default, which is Replace.

    Replace

    Specifies that the SourceSafe plug-in should replace the local version of an item with the latest version under source control, or with the item version from which it was derived. See Remarks.

    Leave

    Specifies that the SourceSafe plug-in should leave the local version of an item as it is.

  • Sort
    Changes the sort order of the displayed columns.
  • Tree View
    Displays the folder and item hierarchy for items for which to undo the checkout.
  • Undo Checkout
    Undoes the checkout for the selected items.

Remarks

If you have checked out the local version of an item, selection of the Replace option will cause the SourceSafe plug-in to replace the local copy with the master copy from which it was derived. For example, suppose that you have checked out version 2 of a file using the Checkout local version option in the Check Out for Edit dialog box, and a teammate has checked in some changes to create version 3. When you undo the checkout for the file, the SourceSafe plug-in overwrites your local copy with version 2, instead of version 3.

See Also

Reference

Check Out for Edit Dialog Box (Plug-in)

Other Resources

Visual SourceSafe User Interface Reference