/breezy/3.0

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/3.0

« back to all changes in this revision

Viewing changes to breezy/plugins/fastimport/__init__.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-05-07 12:03:11 UTC
  • mfrom: (6929.13.6 fast-import-cmds)
  • Revision ID: breezy.the.bot@gmail.com-20180507120311-x2v52qsrqj93zi52
Remove the fast-import-{query,info,filter} commands.

Merged from https://code.launchpad.net/~jelmer/brz/fast-import-cmds/+merge/342461

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
reporting on fast-import streams, see the online help for the commands::
47
47
 
48
48
  bzr help fast-import
49
 
  bzr help fast-import-filter
50
 
  bzr help fast-import-info
51
 
  bzr help fast-import-query
52
49
 
53
50
Finally, you may wish to generate a fast-import dump file from a Bazaar
54
51
repository. The fast-export command is provided for that purpose.
70
67
        from ...errors import DependencyNotPresent
71
68
        raise DependencyNotPresent("fastimport",
72
69
            "fastimport requires the fastimport python module")
 
70
    if fastimport.__version__ < (0, 9, 8):
 
71
        from ...errors import DependencyNotPresent
 
72
        raise DependencyNotPresent("fastimport",
 
73
            "fastimport requires at least version 0.9.8 of the "
 
74
            "fastimport python module")
73
75
 
74
76
 
75
77
def test_suite():
79
81
 
80
82
for name in [
81
83
        "fast_import",
82
 
        "fast_import_filter",
83
 
        "fast_import_info",
84
 
        "fast_import_query",
85
84
        "fast_export",
86
85
        ]:
87
86
    plugin_cmds.register_lazy("cmd_%s" % name, [], "breezy.plugins.fastimport.cmds")