aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/config.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-09-06 13:40:14 +0200
committerGuido Günther <agx@sigxcpu.org>2014-10-12 11:42:06 +0200
commit0afcd3d359f078013474a2fec43eaaed823d67d2 (patch)
treecca85f927cee8dccff1718ecfd148a4f2b86e453 /gbp/config.py
parent90b283fefe8345eb7fd0f219bb64710cf535703a (diff)
pq: Add "pq export --commit" option
This commits the changes in the pq right away. This is currently experimental and subject to change.
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 93506141..174eba42 100644
--- a/gbp/config.py
+++ b/gbp/config.py
@@ -156,6 +156,7 @@ class GbpOptionParser(OptionParser):
'symlink-orig': 'True',
'purge': 'True',
'drop': 'False',
+ 'commit': 'False',
}
help = {
'debian-branch':
@@ -300,6 +301,8 @@ class GbpOptionParser(OptionParser):
'drop':
("In case of 'export' drop the patch-queue branch "
"after export. Default is '%(drop)s'"),
+ 'commit':
+ "commit changes after export, Default is '%(commit)s'",
}
def_config_files = [ '/etc/git-buildpackage/gbp.conf',