Rev 2577: hook docs in http://sourcefrog.net/bzr/dlock

Martin Pool mbp at sourcefrog.net
Wed Jul 4 10:24:15 BST 2007


At http://sourcefrog.net/bzr/dlock

------------------------------------------------------------
revno: 2577
revision-id: mbp at sourcefrog.net-20070704092414-oql4gkeief8aq5oh
parent: mbp at sourcefrog.net-20070704092156-us6h516qevsps4dg
committer: Martin Pool <mbp at sourcefrog.net>
branch nick: dlock
timestamp: Wed 2007-07-04 19:24:14 +1000
message:
  hook docs
modified:
  bzrlib/debug.py                debug.py-20061102062349-vdhrw9qdpck8cl35-1
=== modified file 'bzrlib/debug.py'
--- a/bzrlib/debug.py	2007-06-28 08:29:44 +0000
+++ b/bzrlib/debug.py	2007-07-04 09:24:14 +0000
@@ -16,6 +16,14 @@
 
 
 debug_flags = set()
-"""Set of flags that enable different debug behaviour"""
-
-# hooks - debug activity about hooks.
+"""Set of flags that enable different debug behaviour.
+
+These are set with eg ``-Dlock`` on the bzr command line.
+
+Options include:
+    
+ * hooks 
+ * lock - trace when lockdir locks are taken or released
+ * error - show stack traces for all top level exceptions
+
+"""




More information about the bazaar-commits mailing list