~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-09 08:12:01 UTC
  • mfrom: (5837.1.3 inter-no-default)
  • Revision ID: pqm@pqm.ubuntu.com-20110509081201-1nreh088nt7xh3l1
(jelmer) Require the default for Inter.get to be explicitly registered.
 (Jelmer Vernooij)

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