Moving, Copying and Undeleting Repository Items

Cornerstone provides a number of ways to copy and move items in the repository 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. The selected items are copied or moved to the selected folder.

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... or 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 To... (or Copy To...) 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 Duplicate).
  5. The selected items are copied or moved to the specified location.

Creating Tags and Branches

Copying can be used to create tags and branches.

Alternatively, you can select the item to tag (or branch) and select the Tag (or Branch) function from the File menu as described in the Tagging and Branching topic.

Undeleting Items

Copying can also be used to undelete an item deleted in an earlier revision.

To undelete a file or folder in the repository browser:

  1. Use the revision field to specify the date or number of the revision which contains the deleted file or folder.
  2. Select one or more items to undelete.
  3. Select Duplicate... from the File menu.
  4. 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.
  5. Click the Copy button or press Enter.

You can also use the Undelete command in the Log View to undelete a deleted file or folder.