~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2009-09-15 01:52:34 UTC
  • mfrom: (4685 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4689.
  • Revision ID: mbp@sourcefrog.net-20090915015234-lbvl4euj2z353zjl
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1035
1035
            ret = apply_coveraged(opt_coverage_dir, run, *run_argv)
1036
1036
        else:
1037
1037
            ret = run(*run_argv)
1038
 
        if 'memory' in debug.debug_flags:
1039
 
            trace.debug_memory('Process status after command:', short=False)
1040
1038
        return ret or 0
1041
1039
    finally:
1042
1040
        # reset, in case we may do other commands later within the same
1043
1041
        # process. Commands that want to execute sub-commands must propagate
1044
1042
        # --verbose in their own way.
 
1043
        if 'memory' in debug.debug_flags:
 
1044
            trace.debug_memory('Process status after command:', short=False)
1045
1045
        option._verbosity_level = saved_verbosity_level
1046
1046
 
1047
1047