Rev 3702: Restore the 'if memory in debug.debug_flags' check for commands.py in http://bzr.arbash-meinel.com/branches/bzr/1.8-dev/debug_memory

John Arbash Meinel john at arbash-meinel.com
Sat Sep 27 00:35:08 BST 2008


At http://bzr.arbash-meinel.com/branches/bzr/1.8-dev/debug_memory

------------------------------------------------------------
revno: 3702
revision-id: john at arbash-meinel.com-20080926233502-0x6htcqzyn2lncj0
parent: john at arbash-meinel.com-20080926221702-3lxr4hxo4ddl1264
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: debug_memory
timestamp: Fri 2008-09-26 18:35:02 -0500
message:
  Restore the 'if memory in debug.debug_flags' check for commands.py
-------------- next part --------------
=== modified file 'bzrlib/commands.py'
--- a/bzrlib/commands.py	2008-09-10 18:17:59 +0000
+++ b/bzrlib/commands.py	2008-09-26 23:35:02 +0000
@@ -795,7 +795,8 @@
             ret = apply_coveraged(opt_coverage_dir, run, *run_argv)
         else:
             ret = run(*run_argv)
-        trace.debug_memory('Process status after command:', short=False)
+        if 'memory' in debug.debug_flags:
+            trace.debug_memory('Process status after command:', short=False)
         return ret or 0
     finally:
         # reset, in case we may do other commands later within the same process



More information about the bazaar-commits mailing list