~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/help_topics/__init__.py

  • Committer: Jelmer Vernooij
  • Date: 2011-11-29 01:35:03 UTC
  • mto: This revision was merged to the branch mainline in revision 6325.
  • Revision ID: jelmer@samba.org-20111129013503-7niifv11hd2rihpn
Allow registering custom location aliases.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
rendering on the screen naturally.
34
34
"""
35
35
 
36
 
import sys
37
 
 
38
36
import bzrlib
39
37
from bzrlib import (
40
38
    config,
769
767
                        'Information on configuration and log files')
770
768
topic_registry.register_lazy('hooks', 'bzrlib.hooks', 'hooks_help_text',
771
769
                        'Points at which custom processing can be added')
 
770
topic_registry.register_lazy('location-alias', 'bzrlib.directory_service',
 
771
                        'AliasDirectory.help_text',
 
772
                        'Aliases for remembered locations')
772
773
 
773
774
# Load some of the help topics from files. Note that topics which reproduce API
774
775
# details will tend to skew (quickly usually!) so please seek other solutions
781
782
                        'Types of conflicts and what to do about them')
782
783
topic_registry.register('debug-flags', _load_from_file,
783
784
                        'Options to show or record debug information')
784
 
topic_registry.register('location-alias', _load_from_file,
785
 
                        'Aliases for remembered locations')
786
785
topic_registry.register('log-formats', _load_from_file,
787
786
                        'Details on the logging formats available')
788
787
topic_registry.register('url-special-chars', _load_from_file,