~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revisiontree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-09-01 10:55:26 UTC
  • mfrom: (6110.6.3 haslayout-noversioneddirs)
  • Revision ID: pqm@pqm.ubuntu.com-20110901105526-jnqnr84fhdriyjee
(jelmer) Support repository formats without explicitly versioned directories
 in HasLayout. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
        self._revision_id = revision_id
37
37
        self._rules_searcher = None
38
38
 
 
39
    def has_versioned_directories(self):
 
40
        """See `Tree.has_versioned_directories`."""
 
41
        return self._repository._format.supports_versioned_directories
 
42
 
39
43
    def supports_tree_reference(self):
40
44
        return getattr(self._repository._format, "supports_tree_reference",
41
45
            False)