Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Provider.ChangeSetMove

public static VersionControl.Task ChangeSetMove(VersionControl.AssetList assets, VersionControl.ChangeSet changeset);
public static VersionControl.Task ChangeSetMove(VersionControl.Asset asset, VersionControl.ChangeSet changeset);
public static VersionControl.Task ChangeSetMove(VersionControl.AssetList assets, string changesetID);
public static VersionControl.Task ChangeSetMove(VersionControl.Asset asset, string changesetID);

Parameters

assets List of asset to move to changeset.
changeset Changeset to move asset to.
asset Asset to move to changeset.
changesetID ChangesetID to move asset to.

Description

Move an asset or list of assets from their current changeset to a new changeset.

E.g. in Perforce checked out asset can be moved to a changetset other than the default changeset.