aboutsummaryrefslogtreecommitdiff
path: root/gbp/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/config.py')
-rw-r--r--gbp/config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gbp/config.py b/gbp/config.py
index 3d254ee..8b1d95c 100644
--- a/gbp/config.py
+++ b/gbp/config.py
@@ -169,6 +169,7 @@ class GbpOptionParser(OptionParser):
'drop': 'False',
'commit': 'False',
'upstream-vcs-tag': '',
+ 'rollback': 'True',
}
help = {
'debian-branch':
@@ -327,6 +328,8 @@ class GbpOptionParser(OptionParser):
"after export. Default is '%(drop)s'"),
'commit':
"commit changes after export, Default is '%(commit)s'",
+ 'rollback':
+ "Rollback repository changes when encountering an error",
}
def_config_files = {'/etc/git-buildpackage/gbp.conf': 'system',