Rev 4531: Add '-Elock' to the selftest flags. in lp:///~jameinel/bzr/1.18-lock-warnings

John Arbash Meinel john at arbash-meinel.com
Thu Jul 30 23:05:04 BST 2009


At lp:///~jameinel/bzr/1.18-lock-warnings

------------------------------------------------------------
revno: 4531
revision-id: john at arbash-meinel.com-20090730220309-d64thqta9cln1i3y
parent: john at arbash-meinel.com-20090730210106-7m4zs5bxl0cqgtn8
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 1.18-lock-warnings
timestamp: Thu 2009-07-30 17:03:09 -0500
message:
  Add '-Elock' to the selftest flags.
-------------- next part --------------
=== modified file 'bzrlib/tests/__init__.py'
--- a/bzrlib/tests/__init__.py	2009-07-30 20:44:21 +0000
+++ b/bzrlib/tests/__init__.py	2009-07-30 22:03:09 +0000
@@ -830,6 +830,8 @@
         self._preserved_debug_flags = set(debug.debug_flags)
         if 'allow_debug' not in selftest_debug_flags:
             debug.debug_flags.clear()
+        if 'lock' in selftest_debug_flags:
+            debug.debug_flags.add('lock')
         self.addCleanup(self._restore_debug_flags)
 
     def _clear_hooks(self):



More information about the bazaar-commits mailing list