~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/help_topics.py

  • Committer: Aaron Bentley
  • Date: 2007-01-11 03:10:41 UTC
  • mfrom: (2229 +trunk)
  • mto: (2255.6.1 dirstate)
  • mto: This revision was merged to the branch mainline in revision 2322.
  • Revision ID: aaron.bentley@utoronto.ca-20070111031041-cu4tmhma4sqjph48
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
105
105
http://bazaar-vcs.org/
106
106
 
107
107
Basic commands:
108
 
 
109
108
  bzr init           makes this directory a versioned branch
110
109
  bzr branch         make a copy of another branch
111
110
 
132
131
                        "Explain how to use --revision")
133
132
topic_registry.register('basic', _basic_help, "Basic commands")
134
133
topic_registry.register('topics', _help_on_topics, "Topics list")
 
134
def get_format_topic(topic):
 
135
    from bzrlib import bzrdir
 
136
    return bzrdir.format_registry.help_topic(topic)
 
137
topic_registry.register('formats', get_format_topic, 'Directory formats')