diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2012-01-12 15:35:20 +0200 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-06-05 14:20:04 +0300 |
commit | 127fa79a4189828e528fbbe0b5ac9892cf259c4c (patch) | |
tree | 9f56cfc15ccf2af05a82a479849d2bd486668587 /gbp/scripts/pull.py | |
parent | 4c5e0a2ccca453968e7c83b7a3ceca4441241885 (diff) | |
download | git-buildpackage-127fa79a4189828e528fbbe0b5ac9892cf259c4c.tar.gz git-buildpackage-127fa79a4189828e528fbbe0b5ac9892cf259c4c.tar.bz2 git-buildpackage-127fa79a4189828e528fbbe0b5ac9892cf259c4c.zip |
Rename internal var debian_branch -> packaging_branch
This is done in sake of more general purpose naming, intended for
enabling rpm support.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'gbp/scripts/pull.py')
-rwxr-xr-x | gbp/scripts/pull.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gbp/scripts/pull.py b/gbp/scripts/pull.py index b505e6d6..85328b4e 100755 --- a/gbp/scripts/pull.py +++ b/gbp/scripts/pull.py @@ -115,7 +115,7 @@ def build_parser(name): branch_group.add_option("--redo-pq", action="store_true", dest="redo_pq", default=False, help="redo the patch queue branch after a pull. Warning: this drops the old patch-queue branch") branch_group.add_config_file_option(option_name="upstream-branch", dest="upstream_branch") - branch_group.add_config_file_option(option_name="debian-branch", dest="debian_branch") + branch_group.add_config_file_option(option_name="debian-branch", dest="packaging_branch") branch_group.add_boolean_config_file_option(option_name="pristine-tar", dest="pristine_tar") branch_group.add_option("--depth", action="store", dest="depth", default=0, help="git history depth (for deepening shallow clones)") @@ -162,7 +162,7 @@ def main(argv): else: raise - for branch in [ options.debian_branch, options.upstream_branch ]: + for branch in [ options.packaging_branch, options.upstream_branch ]: if repo.has_branch(branch): branches.add(branch) @@ -195,7 +195,7 @@ def main(argv): retval = 2 if options.redo_pq: - repo.set_branch(options.debian_branch) + repo.set_branch(options.packaging_branch) Command("gbp-pq")(["drop"]) Command("gbp-pq")(["import"]) |