~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/debug.py

  • Committer: Robert Collins
  • Date: 2007-09-05 05:51:34 UTC
  • mto: (2592.3.126 repository)
  • mto: This revision was merged to the branch mainline in revision 2879.
  • Revision ID: robertc@robertcollins.net-20070905055134-pwbueao0qq6krf9u
nuke _read_tree_state and snapshot from inventory, moving responsibility into the commit builder.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
 
18
18
# NOTE: If update these, please also update the help for global-options in
19
 
#       bzrlib/help_topics/__init__.py
 
19
#       bzrlib/help_topics.py.
20
20
 
21
21
debug_flags = set()
22
22
"""Set of flags that enable different debug behaviour.
25
25
 
26
26
Options include:
27
27
 
28
 
 * auth - show authentication sections used
 
28
 * evil - capture call sites that do expensive or badly-scaling operations.
29
29
 * error - show stack traces for all top level exceptions
30
 
 * evil - capture call sites that do expensive or badly-scaling operations.
31
 
 * fetch - trace history copying between repositories
32
 
 * graph - trace graph traversal information
33
 
 * hashcache - log every time a working file is read to determine its hash
34
30
 * hooks - trace hook execution
35
31
 * hpss - trace smart protocol requests and responses
36
 
 * http - trace http connections, requests and responses
37
32
 * index - trace major index operations
38
 
 * knit - trace knit operations
39
33
 * lock - trace when lockdir locks are taken or released
40
 
 * merge - emit information for debugging merges
41
 
 * pack - emit information about pack operations
42
34
 
43
35
"""