~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-08-14 18:55:46 UTC
  • mfrom: (3535.9.9 init_verbose)
  • Revision ID: pqm@pqm.ubuntu.com-20080814185546-98x0mdzxsmj5b5wr
(Marius Kruger) 'bzr init' and 'bzr init-repo' print 'bzr info' on
        success

Show diffs side-by-side

added added

removed removed

Lines of Context:
1311
1311
            except errors.UpgradeRequired:
1312
1312
                raise errors.BzrCommandError('This branch format cannot be set'
1313
1313
                    ' to append-revisions-only.  Try --experimental-branch6')
 
1314
        if not is_quiet():
 
1315
            from bzrlib.info import show_bzrdir_info
 
1316
            show_bzrdir_info(bzrdir.BzrDir.open_containing_from_transport(
 
1317
                to_transport)[0], verbose=0, outfile=self.outf)
1314
1318
 
1315
1319
 
1316
1320
class cmd_init_repository(Command):
1362
1366
        newdir = format.initialize_on_transport(to_transport)
1363
1367
        repo = newdir.create_repository(shared=True)
1364
1368
        repo.set_make_working_trees(not no_trees)
 
1369
        if not is_quiet():
 
1370
            from bzrlib.info import show_bzrdir_info
 
1371
            show_bzrdir_info(bzrdir.BzrDir.open_containing_from_transport(
 
1372
                to_transport)[0], verbose=0, outfile=self.outf)
1365
1373
 
1366
1374
 
1367
1375
class cmd_diff(Command):