/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/bzrdir.py

  • Committer: Alexander Belchenko
  • Date: 2008-03-12 05:59:01 UTC
  • mfrom: (3266 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3267.
  • Revision ID: bialix@ukr.net-20080312055901-44umxb8uc3zs10fe
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1436
1436
        try:
1437
1437
            return klass._formats[format_string]
1438
1438
        except KeyError:
1439
 
            raise errors.UnknownFormatError(format=format_string)
 
1439
            raise errors.UnknownFormatError(format=format_string, kind='bzrdir')
1440
1440
 
1441
1441
    @classmethod
1442
1442
    def get_default_format(klass):
1491
1491
        mutter('created control directory in ' + transport.base)
1492
1492
        control = transport.clone('.bzr')
1493
1493
        utf8_files = [('README', 
1494
 
                       "This is a Bazaar-NG control directory.\n"
1495
 
                       "Do not change any files in this directory.\n"),
 
1494
                       "This is a Bazaar control directory.\n"
 
1495
                       "Do not change any files in this directory.\n"
 
1496
                       "See http://bazaar-vcs.org/ for more information about Bazaar.\n"),
1496
1497
                      ('branch-format', self.get_format_string()),
1497
1498
                      ]
1498
1499
        # NB: no need to escape relative paths that are url safe.