~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revisiontree.py

  • Committer: Jelmer Vernooij
  • Date: 2011-08-29 19:06:57 UTC
  • mto: This revision was merged to the branch mainline in revision 6119.
  • Revision ID: jelmer@samba.org-20110829190657-o5sa35xv779g79g9
Add Tree.has_versioned_directories.

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)