Moving and Copying Working Copy Items

Cornerstone provides a number of ways to copy and move items in the working copy browser.

Drag and Drop

To move or copy a file or folder:

  1. Select one or more items to move:

  2. Drag the items to the new location. If you want to copy the items, press the Option (⌥) key during the drag.
  3. If you are moving a single item, an options window will appear at the position of the destination folder. You can specify an alternate name for the selected item in the destination folder as well as select the source revision.

    You can also specify the source revision when copying.

  4. Click Move (or Copy).
  5. Once moved, the original items are scheduled for deletion and the destination items are scheduled to be added to the working copy.

    When copying, the original items are left intact and the destination items are scheduled to be added to the working copy.

Using Move and Duplicate

Drag and drop can be cumbersome when moving or copying items between folders separated by large numbers of intermediary folders. In such situations it may be preferable to use the Move... and Duplicate... commands located in the File menu.

Both Move... and Duplicate... are also available in an item’s right-click menu, but only Duplicate... is visible by default.

Hold down the Shift () key to display the Move... menu item.

To move or copy a file or folder:

  1. Select one or more items to move:

  2. Select Move... (or Duplicate...) from the File menu.

  3. An options window appears at the position of the selected item (or first item if multiple items are selected). You can specify the name and location to move (or copy) the item to.

    You can also specify the source revision when copying.

  4. Click Move (or Copy).
  5. The selected items are copied or moved to the specified location.

Undoing a Move (or Copy)

You can use the Revert function to undo a move using the following steps:

  1. To undo a move operation:

    Select the original items which were scheduled for deletion and revert them to their BASE versions using the Revert function. The items are restored to their BASE versions and are no longer scheduled for deletion.

  2. For both move and copy operations:

    Select the new items which are still scheduled to be added and remove them using the Delete function.

Committing a Move

In order to preserve the move operation correctly in the repository’s history, it is recommended that you commit both the deleted and added items at the same time.