aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/config.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-09-12 13:05:47 +0200
committerGuido Günther <agx@sigxcpu.org>2014-09-12 13:48:34 +0200
commitee4447920b41cad774f1494c0e2b2312ca3a5a9a (patch)
treefb705b20b33a37d9caa490187f4d76ed771719b1 /gbp/config.py
parente3ea8907d7ef653fe03f0e870a4955deb6a9d9cc (diff)
Allow to always drop pq branch after export
Closes: #761160
Diffstat (limited to 'gbp/config.py')
-rw-r--r--gbp/config.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gbp/config.py b/gbp/config.py
index e0cd779a..0580cc51 100644
--- a/gbp/config.py
+++ b/gbp/config.py
@@ -155,6 +155,7 @@ class GbpOptionParser(OptionParser):
'allow-unauthenticated': 'False',
'symlink-orig': 'True',
'purge': 'True',
+ 'drop': 'False',
}
help = {
'debian-branch':
@@ -294,6 +295,9 @@ class GbpOptionParser(OptionParser):
"'%(symlink-orig)s'"),
'purge':
"Purge exported package build directory. Default is '%(purge)s'",
+ 'drop':
+ ("In case of 'export' drop the patch-queue branch "
+ "after export. Default is '%(drop)s'"),
}
def_config_files = [ '/etc/git-buildpackage/gbp.conf',