~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Ian Clatworthy
  • Date: 2007-08-31 00:35:37 UTC
  • mto: (2779.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 2783.
  • Revision ID: ian.clatworthy@internode.on.net-20070831003537-29b1erv58zwb0kh7
Get test suite fully working again

Show diffs side-by-side

added added

removed removed

Lines of Context:
1054
1054
    takes_options = ['verbose']
1055
1055
 
1056
1056
    @display_command
1057
 
    def run(self, location=None, verbose=0):
 
1057
    def run(self, location=None, verbose=False):
 
1058
        if verbose:
 
1059
            noise_level = 2
 
1060
        else:
 
1061
            noise_level = 0
1058
1062
        from bzrlib.info import show_bzrdir_info
1059
1063
        show_bzrdir_info(bzrdir.BzrDir.open_containing(location)[0],
1060
 
                         verbose=verbose)
 
1064
                         verbose=noise_level)
1061
1065
 
1062
1066
 
1063
1067
class cmd_remove(Command):