Skip to content

Add support for Registry condition #14

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>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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