~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/debug.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-07-04 09:53:20 UTC
  • mfrom: (2555.3.22 dlock)
  • Revision ID: pqm@pqm.ubuntu.com-20070704095320-41p0gvstimqqzvtx
(mbp,r=john,r=robertc) -Dlock and lockdir fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
 
18
18
debug_flags = set()
19
 
"""Set of flags that enable different debug behaviour"""
20
 
 
21
 
# hooks - debug activity about hooks.
 
19
"""Set of flags that enable different debug behaviour.
 
20
 
 
21
These are set with eg ``-Dlock`` on the bzr command line.
 
22
 
 
23
Options include:
 
24
    
 
25
 * hooks 
 
26
 * lock - trace when lockdir locks are taken or released
 
27
 * error - show stack traces for all top level exceptions
 
28
 
 
29
"""