summaryrefslogtreecommitdiff
path: root/gbp/config.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-09-12 13:05:47 +0200
committerJun Wang <junbill.wang@samsung.com>2016-01-27 00:05:52 +0800
commit4e6bcb7dcd6ea1960af9ba77c0d25740c57d6de1 (patch)
treec94131b0bf23854fa5385630ad45824b4f3e1abd /gbp/config.py
parent1a36150b82dda766d4a1bbd4d2b277de01728a72 (diff)
downloadgit-buildpackage-4e6bcb7dcd6ea1960af9ba77c0d25740c57d6de1.tar.gz
git-buildpackage-4e6bcb7dcd6ea1960af9ba77c0d25740c57d6de1.tar.bz2
git-buildpackage-4e6bcb7dcd6ea1960af9ba77c0d25740c57d6de1.zip
Allow to always drop pq branch after export
Closes: #761160 Conflicts: gbp/config.py
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 0b6c3b24..0c9f885c 100644
--- a/gbp/config.py
+++ b/gbp/config.py
@@ -161,6 +161,7 @@ class GbpOptionParser(OptionParser):
'symlink-orig': 'True',
'purge': 'True',
'tmp-dir' : '/var/tmp/gbp/',
+ 'drop': 'False',
}
help = {
'debian-branch':
@@ -309,6 +310,9 @@ class GbpOptionParser(OptionParser):
'tmp-dir':
("Base directory under which temporary directories are "
"created, default is '%(tmp-dir)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',