Add example setting for trying to checkout the ensure_branch branch

This commit is contained in:
Matthias Beyer 2016-07-16 18:01:02 +02:00
parent a356a96a99
commit 0892aa36f8

View file

@ -49,6 +49,9 @@ abort_on_repo_init_failure = true
# Ensure to be on this branche before doing anything.
ensure_branch = "master"
# Try to checkout the ensure_branch if it isn't checked out
try_checkout_ensure_branch = true
[store.hooks.stdhook_git_retrieve]
aspect = "vcs"
@ -60,6 +63,9 @@ abort_on_repo_init_failure = true
# Ensure to be on this branche before doing anything.
ensure_branch = "master"
# Try to checkout the ensure_branch if it isn't checked out
try_checkout_ensure_branch = true
[store.hooks.stdhook_git_delete]
aspect = "vcs"
@ -71,6 +77,9 @@ abort_on_repo_init_failure = true
# Ensure to be on this branche before doing anything.
ensure_branch = "master"
# Try to checkout the ensure_branch if it isn't checked out
try_checkout_ensure_branch = true
[store.hooks.stdhook_git_update]
aspect = "vcs"
@ -82,3 +91,6 @@ abort_on_repo_init_failure = true
# Ensure to be on this branche before doing anything.
ensure_branch = "master"
# Try to checkout the ensure_branch if it isn't checked out
try_checkout_ensure_branch = true