aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2013-06-26 18:01:09 +0200
committerGuido Günther <agx@sigxcpu.org>2013-06-26 18:18:32 +0200
commite09ef949de42e7ac98098b851ee486abeec40ec3 (patch)
treef48c436521eed27f94be3850e3406a9178660ee2
parenta5aff11ba22a5b2f2c56d3325f431d51681e6c9b (diff)
gbp-import-dscs: invoke gbp import-dsc
instead of git-import-dsc
-rw-r--r--gbp/scripts/import_dscs.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/gbp/scripts/import_dscs.py b/gbp/scripts/import_dscs.py
index e15808f..1258c7f 100644
--- a/gbp/scripts/import_dscs.py
+++ b/gbp/scripts/import_dscs.py
@@ -42,7 +42,7 @@ class GitImportDsc(object):
self.args = args
def importdsc(self, dsc):
- return import_dsc.main(['git-import-dsc'] + self.args + [dsc.dscfile])
+ return import_dsc.main(['gbp', 'import-dsc'] + self.args + [dsc.dscfile])
def fetch_snapshots(pkg, downloaddir):
@@ -71,7 +71,7 @@ def fetch_snapshots(pkg, downloaddir):
def set_gbp_conf_files():
"""
Filter out all gbp.conf files that are local to the git repository and set
- GBP_CONF_FILES accordingly so git-import-dsc will only use these.
+ GBP_CONF_FILES accordingly so gbp import-dsc will only use these.
"""
files = GbpOptionParser.get_config_files()
global_config = [ f for f in files if f.startswith('/') ]
@@ -80,8 +80,8 @@ def set_gbp_conf_files():
gbp.log.debug("Setting GBP_CONF_FILES to '%s'" % gbp_conf_files)
def print_help():
- print """Usage: git-import-dscs [options] [git-import-dsc options] /path/to/dsc1 [/path/to/dsc2] ...
- git-import-dscs --debsnap [options] [git-import-dsc options] package
+ print """Usage: gbp import-dscs [options] [gbp-import-dsc options] /path/to/dsc1 [/path/to/dsc2] ...
+ gbp import-dscs --debsnap [options] [gbp-import-dsc options] package
Options:
@@ -108,7 +108,7 @@ def main(argv):
set_gbp_conf_files()
import_args.remove('--ignore-repo-config')
# Not using Configparser since we want to pass all unknown options
- # unaltered to git-import-dsc
+ # unaltered to gbp import-dsc
if '--debsnap' in import_args:
use_debsnap = True
import_args.remove('--debsnap')