Moving files

You can move files from one repository to another in the same branch. Keep the following in mind:

  • You cannot move files to a repository that includes a file with the same name.
  • You cannot move files that are checked out or in a changelist.
  • Moving a shared file adds the move action to the history of the base file and all shared links without breaking the share.
  • Moved files can be promoted and rebased. If the moved file is a shared base file, the promote or rebase preview displays the move action as the reason. If the moved file is a shared link, the promote or rebase preview displays the new file action as the reason. Shares are maintained after promoting or rebasing.

1. Select the files and choose Activities > Move Files.

The Move Files dialog box opens.

2. Select a Destination Repository to move the files to.

3. Enter any Comments, such as the reason for moving the files.

4. Optionally expand the Changelist options area to select options for moving the files as part of a changelist. See Adding file actions to changelists.

5. Click OK.

The files are moved.