~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.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:
58
58
    trees or versioned trees.
59
59
    """
60
60
 
 
61
    def has_versioned_directories(self):
 
62
        """Whether this tree can contain explicitly versioned directories.
 
63
 
 
64
        This defaults to True, but some implementations may want to override
 
65
        it.
 
66
        """
 
67
        return True
 
68
 
61
69
    def changes_from(self, other, want_unchanged=False, specific_files=None,
62
70
        extra_trees=None, require_versioned=False, include_root=False,
63
71
        want_unversioned=False):