At http://bzr.arbash-meinel.com/branches/bzr/1.8-dev/debug_memory
------------------------------------------------------------
revno: 3702
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: John Arbash Meinel <[EMAIL PROTECTED]>
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
=== 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
--
bazaar-commits mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/bazaar-commits