Skip to main content

IScmManager.CommitProject Method

Namespace: NextDesign.Desktop

Description

Commits the changes in the specified project and commits them to the configuration management repository.
Nothing is done if there are no changes in the specified project.
Nothing is done if the specified project is not integrated with the configuration management system.

Arguments

NameTypeDescription
projectIProjectProject
commentstringComments
keepLocksboolWhether to keep the lock state

If the configuration management system does not support lock management, the keepLocks specification is ignored.
silentboolIf true is specified, the progress bar will not display the progress.
The default value is false.

Return value

  • void

Exception

NameException classDescription
Configuration management repository operation failedExtensionScmExceptionIf configuration management repository operation failed