Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

VersionControl.Provider.ChangeSetMove

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

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.