Skip to content

Add support for Registry condition #14

@steffen-wilke

Description

@steffen-wilke

In order to allow for a more flexible configuration, it would be nice to have a RegistryCondition.
This would enable temporary behavior depending on a current registry entry on the server system. It could be used while a backup is in process or a branch is created.

Example:

<FailInstruction Message="MyPath is currently locked.">
  <Conditions Type="And">
    <RegistryCondition Key="HKEY_CURRENT_USER\SOFTWARE\scm\MyPathIsLocked" Value="1" /> 
    <ChangedPathCondition ChangedPathRegExPattern="/mypath/.*" />
  </Conditions>
</FailInstruction>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions