~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/help_topics/__init__.py

  • Committer: Robert Collins
  • Date: 2009-03-12 06:24:39 UTC
  • mto: This revision was merged to the branch mainline in revision 4133.
  • Revision ID: robertc@robertcollins.net-20090312062439-gigl7rnor6t2cbcz
Migrate existing hooks over to the new HookPoint infrastructure.

Show diffs side-by-side

added added

removed removed

Lines of Context:
736
736
                        'Environment variable names and values')
737
737
topic_registry.register('files', _files,
738
738
                        'Information on configuration and log files')
 
739
topic_registry.register_lazy('hooks', 'bzrlib.hooks', 'hooks_help_text',
 
740
                        'Points at which custom processing can be added')
739
741
 
740
 
# Load some of the help topics from files
 
742
# Load some of the help topics from files. Note that topics which reproduce API
 
743
# details will tend to skew (quickly usually!) so please seek other solutions
 
744
# for such things.
741
745
topic_registry.register('authentication', _load_from_file,
742
746
                        'Information on configuring authentication')
743
747
topic_registry.register('configuration', _load_from_file,
744
748
                        'Details on the configuration settings available')
745
749
topic_registry.register('conflicts', _load_from_file,
746
750
                        'Types of conflicts and what to do about them')
747
 
topic_registry.register('hooks', _load_from_file,
748
 
                        'Points at which custom processing can be added')
749
751
topic_registry.register('log-formats', _load_from_file,
750
752
                        'Details on the logging formats available')
751
753