~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Martin Pool
  • Date: 2009-03-10 01:00:45 UTC
  • mto: This revision was merged to the branch mainline in revision 298.
  • Revision ID: mbp@sourcefrog.net-20090310010045-jfewn6fpuk1wngxw
This loggerhead will work with bzr 1.13

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
if __name__ == 'bzrlib.plugins.loggerhead':
36
36
    import bzrlib
37
 
    from bzrlib.api import require_api
 
37
    from bzrlib.api import require_any_api
38
38
 
39
 
    require_api(bzrlib, (1, 11, 0))
 
39
    require_any_api(bzrlib, [(1, 11, 0), (1, 13, 0)])
40
40
 
41
41
    # TODO: This should provide a new type of server that can be used by bzr
42
42
    # serve, maybe through a registry, rather than overriding the command.  Though