~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/help_topics/__init__.py

  • Committer: Patch Queue Manager
  • Date: 2012-03-06 19:49:19 UTC
  • mfrom: (6472.2.6 use-bzr-controldir)
  • Revision ID: pqm@pqm.ubuntu.com-20120306194919-kt7mj6xmhifsgees
(jelmer) Use bzrlib.controldir for generic access to control directories,
 rather than bzrlib.bzrdir. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
739
739
topic_registry.register('basic', _basic_help, "Basic commands", SECT_HIDDEN)
740
740
topic_registry.register('topics', _help_on_topics, "Topics list", SECT_HIDDEN)
741
741
def get_current_formats_topic(topic):
742
 
    from bzrlib import bzrdir
 
742
    from bzrlib import controldir
743
743
    return "Current Storage Formats\n\n" + \
744
 
        bzrdir.format_registry.help_topic(topic)
 
744
        controldir.format_registry.help_topic(topic)
745
745
def get_other_formats_topic(topic):
746
 
    from bzrlib import bzrdir
 
746
    from bzrlib import controldir
747
747
    return "Other Storage Formats\n\n" + \
748
 
        bzrdir.format_registry.help_topic(topic)
 
748
        controldir.format_registry.help_topic(topic)
749
749
topic_registry.register('current-formats', get_current_formats_topic,
750
750
    'Current storage formats')
751
751
topic_registry.register('other-formats', get_other_formats_topic,