~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Aaron Bentley
  • Date: 2006-04-12 04:55:16 UTC
  • mfrom: (1653 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1655.
  • Revision ID: aaron.bentley@utoronto.ca-20060412045516-a3534bcfb08241f6
Merge from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
750
750
class cmd_info(Command):
751
751
    """Show statistical information about a branch."""
752
752
    takes_args = ['branch?']
 
753
    takes_options = ['verbose']
753
754
    
754
755
    @display_command
755
 
    def run(self, branch=None):
 
756
    def run(self, branch=None, verbose=False):
756
757
        import bzrlib.info
757
 
        bzrlib.info.show_bzrdir_info(bzrdir.BzrDir.open_containing(branch)[0])
 
758
        bzrlib.info.show_bzrdir_info(bzrdir.BzrDir.open_containing(branch)[0],
 
759
                                     verbose=verbose)
758
760
 
759
761
 
760
762
class cmd_remove(Command):
875
877
                     Option('format', 
876
878
                            help='Create a specific format rather than the'
877
879
                                 ' current default format. Currently this '
878
 
                                 ' option only accepts =metadir',
 
880
                                 ' option only accepts "metadir"',
879
881
                            type=get_format_type),
880
882
                     ]
881
883
    def run(self, location=None, format=None):
1587
1589
                     Option('format', 
1588
1590
                            help='Upgrade to a specific format rather than the'
1589
1591
                                 ' current default format. Currently this'
1590
 
                                 ' option only accepts -metadir and -knit'
 
1592
                                 ' option only accepts "metadir" and "knit".'
1591
1593
                                 ' WARNING: the knit format is currently'
1592
1594
                                 ' unstable and only for experimental use.',
1593
1595
                            type=get_format_type),