~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2009-09-14 01:48:28 UTC
  • mfrom: (4685 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4688.
  • Revision ID: mbp@sourcefrog.net-20090914014828-ydr9rlkdfq2sv57z
Merge news

Show diffs side-by-side

added added

removed removed

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