~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Ian Clatworthy
  • Date: 2009-02-23 08:08:34 UTC
  • mto: (4035.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 4037.
  • Revision ID: ian.clatworthy@canonical.com-20090223080834-0oby0bf0faj4ihq2
omit branch committers from info -v (now requires -vv)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1282
1282
    """Show information about a working tree, branch or repository.
1283
1283
 
1284
1284
    This command will show all known locations and formats associated to the
1285
 
    tree, branch or repository.  Statistical information is included with
1286
 
    each report.
 
1285
    tree, branch or repository.
 
1286
    
 
1287
    In verbose mode, statistical information is included with each report.
 
1288
    To see extended statistic information, use a verbosity level of 2 or
 
1289
    higher by specifying the verbose option multiple times, e.g. -vv.
1287
1290
 
1288
1291
    Branches and working trees will also report any missing revisions.
 
1292
 
 
1293
    :Examples:
 
1294
 
 
1295
      Display information on the format and related locations:
 
1296
 
 
1297
        bzr info
 
1298
 
 
1299
      Display the above together with extended format information and
 
1300
      basic statistics (like the number of files in the working tree and
 
1301
      number of revisions in the branch and repository):
 
1302
 
 
1303
        bzr -v info
 
1304
 
 
1305
      Display the above together with number of committers to the branch:
 
1306
 
 
1307
        bzr -vv info
1289
1308
    """
1290
1309
    _see_also = ['revno', 'working-trees', 'repositories']
1291
1310
    takes_args = ['location?']
1295
1314
    @display_command
1296
1315
    def run(self, location=None, verbose=False):
1297
1316
        if verbose:
1298
 
            noise_level = 2
 
1317
            noise_level = get_verbosity_level()
1299
1318
        else:
1300
1319
            noise_level = 0
1301
1320
        from bzrlib.info import show_bzrdir_info