~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/help_topics.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-04-23 07:50:15 UTC
  • mfrom: (2376.4.43 bug-support)
  • Revision ID: pqm@pqm.ubuntu.com-20070423075015-340ajk1vo3pzxheu
(robertc) bzr --fixes support to allow recording of bugs that are fixed by commits. (Jonathan Lange, James Henstridge, Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
 
82
82
 
83
83
def _help_on_revisionspec(name):
84
 
    """"Write the summary help for all documented topics to outfile."""
 
84
    """Write the summary help for all documented topics to outfile."""
85
85
    import bzrlib.revisionspec
86
86
 
87
87
    out = []
291
291
                        'Information on what a checkout is')
292
292
topic_registry.register('urlspec', _help_on_transport,
293
293
                        "Supported transport protocols")
 
294
def get_bugs_topic(topic):
 
295
    from bzrlib import bugtracker
 
296
    return bugtracker.tracker_registry.help_topic(topic)
 
297
topic_registry.register('bugs', get_bugs_topic, 'Bug tracker support')
294
298
 
295
299
 
296
300
class HelpTopicIndex(object):