Skip to main content

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

NameTypeDescription
projectIProjectProject
autoReloadboolAutomatically 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.
Ifsilentbool

Return value

  • void

Exceptions

NameException ClassDescription
Configuration Management Repository Operation FailedExtensionScmExceptionIf Configuration Management Repository Operation Failed