Rev 3429: Revert the changes to cmd_selftest, so that -Werror still works. in http://bzr.arbash-meinel.com/branches/bzr/1.6-dev/dep_warnings

John Arbash Meinel john at arbash-meinel.com
Fri May 16 17:52:49 BST 2008


At http://bzr.arbash-meinel.com/branches/bzr/1.6-dev/dep_warnings

------------------------------------------------------------
revno: 3429
revision-id: john at arbash-meinel.com-20080516165227-3r5vc1f15r5hno45
parent: john at arbash-meinel.com-20080515155945-nzk1pjufnkbti4bb
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: dep_warnings
timestamp: Fri 2008-05-16 11:52:27 -0500
message:
  Revert the changes to cmd_selftest, so that -Werror still works.
modified:
  bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
-------------- next part --------------
=== modified file 'bzrlib/builtins.py'
--- a/bzrlib/builtins.py	2008-05-15 15:59:45 +0000
+++ b/bzrlib/builtins.py	2008-05-16 16:52:27 +0000
@@ -2655,11 +2655,6 @@
         import bzrlib.benchmarks as benchmarks
         from bzrlib.benchmarks import tree_creator
 
-        # We should always get deprecation warnings when running selftest.
-        # For 'final' releases, this happens too late to catch plugin load-time
-        # warnings, but at least we get test-time warnings.
-        symbol_versioning.activate_deprecation_warnings()
-
         if cache_dir is not None:
             tree_creator.TreeCreator.CACHE_ROOT = osutils.abspath(cache_dir)
         if not list_only:



More information about the bazaar-commits mailing list