~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/delta.py

  • Committer: Aaron Bentley
  • Date: 2006-08-16 19:13:00 UTC
  • mfrom: (1934 +trunk)
  • mto: (1910.2.43 format-bumps)
  • mto: This revision was merged to the branch mainline in revision 1935.
  • Revision ID: abentley@panoramicfeedback.com-20060816191300-045772b26b975d1c
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
from bzrlib.inventory import InventoryEntry
18
18
from bzrlib.trace import mutter
19
 
from bzrlib.symbol_versioning import deprecated_function, zero_ten
 
19
from bzrlib.symbol_versioning import deprecated_function, zero_nine
20
20
 
21
21
 
22
22
class TreeDelta(object):
143
143
            show_list(self.unchanged)
144
144
 
145
145
 
146
 
@deprecated_function(zero_ten)
 
146
@deprecated_function(zero_nine)
147
147
def compare_trees(old_tree, new_tree, want_unchanged=False,
148
148
                  specific_files=None, extra_trees=None,
149
149
                  require_versioned=False):
162
162
    old_inv = old_tree.inventory
163
163
    new_inv = new_tree.inventory
164
164
    delta = TreeDelta()
165
 
    mutter('start compare_trees')
 
165
    # mutter('start compare_trees')
166
166
 
167
167
    # TODO: Rather than iterating over the whole tree and then filtering, we
168
168
    # could diff just the specified files (if any) and their subtrees.