~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/debug.py

  • Committer: John Arbash Meinel
  • Date: 2007-03-14 20:47:17 UTC
  • mto: (2353.4.2 locking)
  • mto: This revision was merged to the branch mainline in revision 2360.
  • Revision ID: john@arbash-meinel.com-20070314204717-htynwogv97fqr22a
Cleanup errors, and change ReadOnlyLockError to pass around more details.

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
 
These are set with eg ``-Dlock`` on the bzr command line.
22
 
 
23
 
Options include:
24
 
    
25
 
 * error - show stack traces for all top level exceptions
26
 
 * hooks 
27
 
 * hpss - trace smart protocol requests and responses
28
 
 * lock - trace when lockdir locks are taken or released
29
 
 
30
 
"""
 
19
"""Set of flags that enable different debug behaviour"""
 
20