CHANGESET MOVE

Description

Moves a changeset and all its descendants to a different branch.

Usage

cm changeset move | mv <csetspec> <branchspec>

Options

Option / ArgumentDescription
csetspecFirst changeset to be moved to a different branch. All descendant changesets in the same branch will be targeted by the command as well. (Use 'cm help objectspec' to learn more about changeset specs.)
branchspecThe target branch where the targeted changesets are stored. It needs to be empty or non-existing; if the destination branch doesn't exist, it will be created by the command. (Use 'cm help objectspec' to learn more about branch specs.)

Help

Remarks

  • The targeted changeset spec must be valid.
  • The destination branch must be either empty or non-existing.
  • If the destination branch doesn't exist, it will created.
  • Merge links will be kept unchanged since branches don't affect them.

Examples

cm changeset move cs:15@myrepo br:/main/scm005@myrepo

cm changeset move cs:cb11ecdb-1aa9-4f11-8698-dcab14e5885a br:/hotfix/TL-352