/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2010-10-08 06:34:10 UTC
  • mfrom: (5463.1.2 trunk)
  • mto: This revision was merged to the branch mainline in revision 5476.
  • Revision ID: mbp@sourcefrog.net-20101008063410-5nfe1g88d822r42a
Avoid -q / -v carrying over in scripts and causing mysterious failures

Show diffs side-by-side

added added

removed removed

Lines of Context:
687
687
 
688
688
        self._setup_outf()
689
689
 
690
 
        return self.run(**all_cmd_args)
 
690
        try:
 
691
            return self.run(**all_cmd_args)
 
692
        finally:
 
693
            # reset it, so that other commands run in the same process won't
 
694
            # inherit state
 
695
            trace.set_verbosity_level(0)
691
696
 
692
697
    def _setup_run(self):
693
698
        """Wrap the defined run method on self with a cleanup.