~andrewsomething/loggerhead/doc-package

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Jelmer Vernooij
  • Date: 2010-10-10 00:48:32 UTC
  • mfrom: (182.48.176 info)
  • Revision ID: jelmer@debian.org-20101010004832-yvkxghiswblpa2op
Add convenience script for automatically updating dependencies.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
starts a web server to browse the contents of a branch.
31
31
"""
32
32
 
33
 
version_info = (1, 17, 0)
 
33
from info import (
 
34
    bzr_plugin_version as version_info,
 
35
    bzr_compatible_versions,
 
36
    )
34
37
 
35
38
if __name__ == 'bzrlib.plugins.loggerhead':
36
39
    import bzrlib
37
40
    from bzrlib.api import require_any_api
38
41
 
39
 
    require_any_api(bzrlib, [
40
 
        (1, 13, 0), (1, 15, 0), (1, 16, 0), (1, 17, 0), (1, 18, 0),
41
 
        (2, 0, 0), (2, 1, 0), (2, 2, 0)])
 
42
    require_any_api(bzrlib, bzr_compatible_versions)
42
43
 
43
44
    # NB: Normally plugins should lazily load almost everything, but this
44
45
    # seems reasonable to have in-line here: bzrlib.commands and options are