~bzr-pqm/bzr/2.3

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Patch Queue Manager
  • Date: 2012-03-28 00:42:46 UTC
  • mfrom: (5665.1.2 2.3-feature-flags)
  • Revision ID: pqm@pqm.ubuntu.com-20120328004246-kx0vzifaqi142b8i
(jelmer) Add basic support for feature flags. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3108
3108
        try:
3109
3109
            transport = a_bzrdir.get_repository_transport(None)
3110
3110
            format_string = transport.get_bytes("format")
 
3111
            format_string = bzrdir.extract_format_string(format_string)
3111
3112
            return format_registry.get(format_string)
3112
3113
        except errors.NoSuchFile:
3113
3114
            raise errors.NoRepositoryPresent(a_bzrdir)