aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-08-04 19:58:52 -0300
committerGuido Günther <agx@sigxcpu.org>2017-08-04 21:01:07 -0300
commitad3515ae09d5d291ffbe50fc4c6209325cd70c18 (patch)
tree0fcbae87eb00a5e203567f9103179b94272374c8
parente7bbd6523fbb68ce69be1be7ebbd231ab9f6ea36 (diff)
buildpackage: drop the long deprecated --dont-purge option
Use --no-purge instead
-rwxr-xr-xgbp/scripts/buildpackage.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/gbp/scripts/buildpackage.py b/gbp/scripts/buildpackage.py
index 9e8e2fb..8032406 100755
--- a/gbp/scripts/buildpackage.py
+++ b/gbp/scripts/buildpackage.py
@@ -394,8 +394,6 @@ def build_parser(name, prefix=None):
help="export treeish object TREEISH, "
"default is '%(export)s'", metavar="TREEISH")
export_group.add_boolean_config_file_option(option_name="purge", dest="purge")
- export_group.add_option("--git-dont-purge", action="store_true", dest="dont_purge", default=False,
- help="deprecated, use --git-no-purge instead")
export_group.add_boolean_config_file_option(option_name="overlay", dest="overlay")
return parser
@@ -427,11 +425,6 @@ def parse_args(argv, prefix):
gbp.log.err("Overlay must be used with --git-export-dir")
return None, None, None
- # --git-dont-purge is deprecated:
- if options.dont_purge:
- gbp.log.warn("--git-dont-purge is depreceted, use --git-no-purge instead")
- options.purge = False
-
if options.components and options.pristine_tar_commit:
gbp.log.warn("Components specified, pristine-tar-commit not yet supported - disabling it.")
options.pristine_tar_commit = False