1
# Copyright (C) 2006 Canonical Ltd
1
# Copyright (C) 2006, 2009 Canonical Ltd
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
300
300
See doc/developers/profiling.txt for more information on profiling.
301
301
A number of debug flags are also available to assist troubleshooting and
304
-Dauth Trace authentication sections used.
305
-Derror Instead of normal error handling, always print a traceback
307
-Devil Capture call sites that do expensive or badly-scaling
309
-Dfetch Trace history copying between repositories.
310
-Dfilters Emit information for debugging content filtering.
311
-Dgraph Trace graph traversal.
312
-Dhashcache Log every time a working file is read to determine its hash.
313
-Dhooks Trace hook execution.
314
-Dhpss Trace smart protocol requests and responses.
315
-Dhttp Trace http connections, requests and responses
316
-Dindex Trace major index operations.
317
-Dknit Trace knit operations.
318
-Dlock Trace when lockdir locks are taken or released.
319
-Dmerge Emit information for debugging merges.
320
-Dpack Emit information about pack operations.
321
-Dsftp Trace SFTP internals.
323
These can also be set in the debug_flags configuration variable.
302
development. See `bzr help debug-flags`.
326
305
_standard_options = \
737
716
'Environment variable names and values')
738
717
topic_registry.register('files', _files,
739
718
'Information on configuration and log files')
719
topic_registry.register_lazy('hooks', 'bzrlib.hooks', 'hooks_help_text',
720
'Points at which custom processing can be added')
741
# Load some of the help topics from files
722
# Load some of the help topics from files. Note that topics which reproduce API
723
# details will tend to skew (quickly usually!) so please seek other solutions
742
725
topic_registry.register('authentication', _load_from_file,
743
726
'Information on configuring authentication')
744
727
topic_registry.register('configuration', _load_from_file,
745
728
'Details on the configuration settings available')
746
729
topic_registry.register('conflicts', _load_from_file,
747
730
'Types of conflicts and what to do about them')
748
topic_registry.register('hooks', _load_from_file,
749
'Points at which custom processing can be added')
731
topic_registry.register('debug-flags', _load_from_file,
732
'Options to show or record debug information')
750
733
topic_registry.register('log-formats', _load_from_file,
751
734
'Details on the logging formats available')