/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tree.py

  • Committer: Jelmer Vernooij
  • Date: 2018-03-30 13:59:35 UTC
  • mto: This revision was merged to the branch mainline in revision 6932.
  • Revision ID: jelmer@jelmer.uk-20180330135935-l7i1riyjeud34ra7
Add Tree.versionable_kind.

Show diffs side-by-side

added added

removed removed

Lines of Context:
650
650
        searcher = default_searcher
651
651
        return searcher
652
652
 
 
653
    @classmethod
 
654
    def versionable_kind(cls, kind):
 
655
        """Check if this tree support versioning a specific file kind."""
 
656
        return (kind in ('file', 'directory', 'symlink', 'tree-reference'))
 
657
 
653
658
 
654
659
class InterTree(InterObject):
655
660
    """This class represents operations taking place between two Trees.