diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2012-01-12 15:35:37 +0200 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2012-08-10 11:35:12 +0300 |
commit | b1cae15b0a4a03ff77e45c915ad318ed658bd3cf (patch) | |
tree | 5dd9611c18e79b7887c55d74a83d8650a43aa94e /gbp/scripts/clone.py | |
parent | 979924579da36030b927c89b57ad2be172825d7e (diff) | |
download | git-buildpackage-b1cae15b0a4a03ff77e45c915ad318ed658bd3cf.tar.gz git-buildpackage-b1cae15b0a4a03ff77e45c915ad318ed658bd3cf.tar.bz2 git-buildpackage-b1cae15b0a4a03ff77e45c915ad318ed658bd3cf.zip |
Add 'packaging-branch' cmdline option
This is the counterpart of 'debian-branch' (basically identical to that)
to not confuse rpm maintainers.
Also, adds this option to gbp-clone and gbp-pull commands (as an
alternative to the 'debian-branch option), which are usable for RPM in
their current form.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'gbp/scripts/clone.py')
-rwxr-xr-x | gbp/scripts/clone.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gbp/scripts/clone.py b/gbp/scripts/clone.py index 41dc2abf..0cbb02ce 100755 --- a/gbp/scripts/clone.py +++ b/gbp/scripts/clone.py @@ -38,6 +38,7 @@ def parse_args (argv): help="track all branches, not only debian and upstream") branch_group.add_config_file_option(option_name="upstream-branch", dest="upstream_branch") branch_group.add_config_file_option(option_name="debian-branch", dest="packaging_branch") + branch_group.add_config_file_option(option_name="packaging-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 creating shallow clones)") |