~bzr-pqm/bzr/2.3

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.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:
2864
2864
        try:
2865
2865
            transport = a_bzrdir.get_workingtree_transport(None)
2866
2866
            format_string = transport.get_bytes("format")
 
2867
            format_string = bzrdir.extract_format_string(format_string)
2867
2868
            return klass._formats[format_string]
2868
2869
        except errors.NoSuchFile:
2869
2870
            raise errors.NoWorkingTree(base=transport.base)