Previous Topic: Open Solution for Website Project PathsNext Topic: Undo Changes


Checkout

You can use the Visual Studio IDE to check out a managed file, but not an unmanaged file or new file, and reserve the file in the repository. Before the check-out occurs, the CA Harvest SCM context is verified. If the context is not set, an error message appears.

Use any of the following procedures to check-out files:

To check out files from the Solution Explorer

  1. Verify that you have set a correct CA Harvest SCM context.

    From the Solution Explorer, right-click one or more checked in files that have normal or N-tags in the CA Harvest SCM repository, and select CA Harvest SCM, Checkout from the shortcut menu (or click Checkout from the CA Harvest SCC Toolbar).

    The files are checked out from the CA Harvest SCM repository. The checked-out versions are the latest versions in the CA Harvest SCM context.

To check out files from the Version List

  1. Verify that you have set a correct CA Harvest SCM context.

    From the Solution Explorer, right-click one or more checked in files that have normal or N-tags in the CA Harvest SCM repository, and select CA Harvest SCM, Versions from the shortcut menu.

  2. The files are checked out from the CA Harvest SCM repository.

    The Version List shows all versions for the selected file.

  3. Right-click a version in the Version List and select Check Out from the shortcut menu.

    The selected file version is checked out from the CA Harvest SCM repository.

To check out files using silent Checkout—Online Mode

  1. Verify that you are working in Online mode.
  2. Attempt to edit a managed file that is not checked out.

    A dialog appears with check-out options.

  3. Select one of the following options, and click OK.
    Check Out

    Checks out the file from the CA Harvest SCM repository.

    Check Out and Remember

    Checks out the file from the CA Harvest SCM repository, and updates the ”Checkout while editing the Read-only file (Online Mode)” preference setting. The next time if you edit a managed file, the file is automatically checked out without a prompt appearing. To clear the preference setting, go to Tools, Options.

    Check Out Latest Version (Keep Content from Workspace)

    Checks out the latest version from the repository but retains the file content from local workspace.

    Check Out Latest Version (Update Content from Repository)

    Checks out the latest version from repository and replaces the workspace file. Any changes made locally are overwritten.

    Don’t Check Out

    Cancels editing the file and does not check out files.

    The files are checked out.