Copying files across branches during check in

When you view branch differences, you can copy a file from one branch to another. See Viewing branch differences.

1. Select a changed file and click Copy.

The Copy Check In dialog box opens.

2. Enter any Comments, such as the reason for copying the file.

3. Click Attach to attach the file to an item in Helix ALM or an external issue tracking tool. See Attaching source files to Helix ALM items or Attaching source files to external issues.

4. Click OK.

You return to the Branch Differences dialog box. The file is copied to the branch.

  • If the file exists in the destination branch, it is checked in as the current version. The copied file overwrites the existing file. It is not merged with the existing file.
  • If the file does not exist in the destination branch, it is added and checked in as the current version.
  • If a file’s parent repository does not exist in the destination branch, it is automatically added when the file is copied.
  • Only the file contents are copied to the destination branch, not the file history.
When you copy a file, it is merged into the file in your working directory. You can check in the file immediately or at another time after resolving any merge conflicts.