IScmManager.RevertProject method
Namespace: NextDesign.Desktop
Description
Discard changes for all units in the specified project.
If the specified project has no changes, nothing is done.
Also, nothing will be done if the specified project is not linked to the configuration management system.
argument
Name | Type | Description |
---|---|---|
project | IProject | Project |
autoReload | bool | Automatically reload the project after discarding changes? - Reloads the project if true (default behavior). - If false is specified, only the project in the working folder is updated, and the project is not reloaded. If the specified project is not the current project, the autoReload specification will be ignored. |
If | silent | bool |
Return value
- void
Exceptions
Name | Exception Class | Description |
---|---|---|
Configuration Management Repository Operation Failed | ExtensionScmException | If Configuration Management Repository Operation Failed |