Version: 2019.2
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

assetsList of asset to move to changeset.
changesetChangeset to move asset to.
assetAsset to move to changeset.
changesetIDChangesetID 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.