diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-01-10 15:17:21 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-01-11 06:46:03 +0100 |
commit | b9aae056a67031db81376891c57663803e990ddc (patch) | |
tree | 9f4da0d1f981cfb1b22126ad2be4296c7bbe9f5f /git-import-orig | |
parent | ec27521aea1bd3f11104a09457ce4df7bb23019d (diff) | |
download | git-buildpackage-b9aae056a67031db81376891c57663803e990ddc.tar.gz git-buildpackage-b9aae056a67031db81376891c57663803e990ddc.tar.bz2 git-buildpackage-b9aae056a67031db81376891c57663803e990ddc.zip |
Make --[no-]merge a proper option
so it can be configured via gbp.conf.
Diffstat (limited to 'git-import-orig')
-rwxr-xr-x | git-import-orig | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/git-import-orig b/git-import-orig index 9a096053..c735783b 100755 --- a/git-import-orig +++ b/git-import-orig @@ -187,8 +187,6 @@ def main(argv): gbp.log.err(err) return 1 - cl_group = GbpOptionGroup(parser, "changelog mangling", - "options for mangling the changelog after the import") import_group = GbpOptionGroup(parser, "import options", "pristine-tar and filtering") tag_group = GbpOptionGroup(parser, "tag options", @@ -197,7 +195,7 @@ def main(argv): "version number and branch layout options") cmd_group = GbpOptionGroup(parser, "external command options", "how and when to invoke external commands and hooks") - for group in [import_group, branch_group, cl_group, tag_group, cmd_group ]: + for group in [import_group, branch_group, tag_group, cmd_group ]: parser.add_option_group(group) branch_group.add_option("-u", "--upstream-version", dest="version", @@ -206,9 +204,7 @@ def main(argv): dest="debian_branch") branch_group.add_config_file_option(option_name="upstream-branch", dest="upstream_branch") - branch_group.add_option("--no-merge", dest='merge', action="store_false", - default=True, - help="after import dont do any merging to another branch") + branch_group.add_boolean_config_file_option(option_name="merge", dest="merge") tag_group.add_boolean_config_file_option(option_name="sign-tags", dest="sign_tags") |