pushChanges Method

Push changes to iModelHub. Locks are released and codes are marked as used as part of a successful push. If there are no changes, then locks are released and reserved codes are released.

pushChanges(requestContext: AuthorizedClientRequestContext, description: string, _unused?: any): Promise<ChangesetIndexAndId>

throws IModelError If there are unsaved changes or the pull and merge fails.

note This function is a no-op if there are no changes to push.

Parameter Type Description
requestContext AuthorizedClientRequestContext Context used for authorization to push change sets
description string The changeset description
_unused any  

Returns - Promise<ChangesetIndexAndId>

Defined in

Last Updated: 25 August, 2021