~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

  • Committer: Jelmer Vernooij
  • Date: 2011-05-09 10:05:41 UTC
  • mfrom: (5841 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5842.
  • Revision ID: jelmer@samba.org-20110509100541-lba36ku5nd1s7obe
merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
936
936
 
937
937
    _optimisers = []
938
938
 
 
939
    @classmethod
 
940
    def is_compatible(kls, source, target):
 
941
        # The default implementation is naive and uses the public API, so
 
942
        # it works for all trees.
 
943
        return True
 
944
 
939
945
    def _changes_from_entries(self, source_entry, target_entry,
940
946
        source_path=None, target_path=None):
941
947
        """Generate a iter_changes tuple between source_entry and target_entry.
1310
1316
                    yield result
1311
1317
 
1312
1318
 
 
1319
InterTree.register_optimiser(InterTree)
 
1320
 
 
1321
 
1313
1322
class MultiWalker(object):
1314
1323
    """Walk multiple trees simultaneously, getting combined results."""
1315
1324